现象

vite.config.js中已配置好unplugin-auto-import

解决方法
让你的auto-imports.d.ts文件, 处于打开状态
尼...玛...,的 这谁敢信
重新打开编译器后还会有这个问题
关掉auto-imports.d.ts文件, 重新打开
吐槽
我真$%$$#$%^&^%&^%^
服了
各种改vite-config.js和tsconfig.json
改来改去,怎么改怎么不好使,$%#$%#$%%&
的吧, 浪费我一天时间
让你的auto-imports.d.ts文件, 处于打开状态
尼...玛...,的 这谁敢信
关掉auto-imports.d.ts文件, 重新打开
我真$%$$#$%^&^%&^%^
服了
各种改vite-config.js和tsconfig.json
改来改去,怎么改怎么不好使,$%#$%#$%%&
的吧, 浪费我一天时间