Vue project, browser error: referenceerror: H is not defined

JSX syntax
encounters this error: check whether there are parameters similar to the code structure in the picture in your data() {
}. This belongs to JSX syntax and can also render components directly. However, in some specific scenarios, the browser console will report
referenceerror: H is not defined. This error
solution: create a new method in methods () {} and clip the parameters of the whole structure above to the method. The parameters in the data that you called before the template code block is changed from calling the methods to solving the problem from the method,

Read More: