From b892bc0936833121bbdb2381b48777d0692511c3 Mon Sep 17 00:00:00 2001 From: pany <939630029@qq.com> Date: Thu, 21 Nov 2024 14:44:19 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=85=81=E8=AE=B8=20JS?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tsconfig.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tsconfig.json b/tsconfig.json index f4b28f5..dcc7d46 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -16,6 +16,8 @@ "paths": { "@/*": ["src/*"] }, "resolveJsonModule": true, "types": ["vite/client", "element-plus/global"], + // 允许 JS + "allowJs": true, // TS 严格模式 "strict": true, "importHelpers": true,