From 0925cd3d524f532847e33a2ff97c1383cf2e32cf Mon Sep 17 00:00:00 2001 From: limengnan <420004014@qq.com> Date: Thu, 26 Mar 2026 17:15:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9global=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business-css/frontend/index.html | 3 +++ business-css/frontend/vite.config.ts | 4 ---- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/business-css/frontend/index.html b/business-css/frontend/index.html index 61c30e7..8cf6cee 100644 --- a/business-css/frontend/index.html +++ b/business-css/frontend/index.html @@ -7,6 +7,9 @@ 临界事故情景分析模拟系统 +
diff --git a/business-css/frontend/vite.config.ts b/business-css/frontend/vite.config.ts index 9310dac..5cb2421 100644 --- a/business-css/frontend/vite.config.ts +++ b/business-css/frontend/vite.config.ts @@ -17,10 +17,6 @@ export default ({ mode }: ConfigEnv): UserConfig => { symbolId: 'icon-[dir]-[name]' }) ], - define: { - // 为所有模块注入 global 变量 - global: 'window' - }, // 本地反向代理解决浏览器跨域限制 server: { host: '0.0.0.0',