tsconfig.json @@ -15,7 +15,7 @@ "paths": { "@/*": ["src/*"] }, "types": ["vite/client"], "types": ["vite/client","node"], "skipLibCheck": true, // 允许默认导入 "allowSyntheticDefaultImports": true,