diff --git a/ui/tsconfig.app.json b/ui/tsconfig.app.json index c472e7029cc..86013947d5c 100644 --- a/ui/tsconfig.app.json +++ b/ui/tsconfig.app.json @@ -6,6 +6,8 @@ "composite": true, "moduleResolution": "node", "baseUrl": ".", + "target": "esnext", // 使用ES最新语法 + "module": "esnext", // 使用ES模块语法 "paths": { "@/*": ["./src/*"] }