From e11c663b81c17b07c1aea15e54c75229b18cd751 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=97=B6=E5=90=AF=E9=BE=99?= Date: Mon, 5 Jan 2026 19:50:16 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=9B=B4=E6=94=B9=E7=AB=AF=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vue.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vue.config.js b/vue.config.js index 7c75bb3..061df14 100644 --- a/vue.config.js +++ b/vue.config.js @@ -14,7 +14,7 @@ function resolve(dir) { } const httpType = 'https://' const proxyUrl = '10.10.33.218:60006' // EFC 3.0 代理地址设置 -const publicPath = '/cop-web/' +const publicPath = process.env.NODE_ENV === 'production' ? '/cop-web/' : '/' module.exports = { publicPath, assetsDir: 'static',