解决办法
1.重启编辑器
2.检查tsconfig.json文件
检查文件中配置属性include内是否有"src/**/*.vue",让其检查所有vue文件
"include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue"]
检查文件中配置属性include内是否有"src/**/*.vue",让其检查所有vue文件
"include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue"]