From 9721c16da86aa5bf45ff2b1b1b255be87d2cff0d Mon Sep 17 00:00:00 2001 From: net <net@netdeMBP.lan> Date: 星期五, 14 二月 2025 11:17:31 +0800 Subject: [PATCH] 能耗对比分析:同比、环比页面完成 --- zhitan-vue/vite.config.js | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/zhitan-vue/vite.config.js b/zhitan-vue/vite.config.js index dcba260..e512399 100644 --- a/zhitan-vue/vite.config.js +++ b/zhitan-vue/vite.config.js @@ -4,7 +4,9 @@ // https://vitejs.dev/config/ export default defineConfig(({ mode, command }) => { + mode='production' const env = loadEnv(mode, process.cwd()) + console.log(mode,'==========env') const { VITE_APP_ENV } = env return { // 閮ㄧ讲鐢熶骇鐜鍜屽紑鍙戠幆澧冧笅鐨刄RL銆� -- Gitblit v1.9.3