Compilation error during the use of iview

in the process of using iview, as long as you copy the official instance code, when saving, the compiler will report an error. Why?

Jul.09,2021

it's best to post your code.

from your reply below, you should be ESlint reporting an error. you look for the number of lines of code it reported wrong, whether there is an extra space or enter, and then check whether the tag tag is not closed . This is a check tool for rules that standardize syntax and format . For more information, please see ESlint common rule configuration


questions like yours make it impossible for others to answer. There is no sample


the code is more detailed and the description is clearer, which can help you troubleshoot the problem

Menu