From 92b53ccbfafdec9b5f27a0ec0a09ff051bdc6d21 Mon Sep 17 00:00:00 2001 From: hyingbo <1363390067@qq.com> Date: 星期二, 22 七月 2025 17:08:12 +0800 Subject: [PATCH] 设备调拨设置固定宽度,解决页面出现无表头空白列的情况 --- vue.config.js | 11 ++++------- 1 files changed, 4 insertions(+), 7 deletions(-) diff --git a/vue.config.js b/vue.config.js index 4bd8e7e..92003d2 100644 --- a/vue.config.js +++ b/vue.config.js @@ -87,7 +87,7 @@ devServer: { port: 3000, - open:true, + open: true, // hot: true, // disableHostCheck: true, // overlay: { @@ -108,13 +108,10 @@ },*/ /* 娉ㄦ剰锛歫eecgboot鍓嶇鍋氫簡鏀归�狅紝姝ゅ涓嶉渶瑕侀厤缃法鍩熷拰鍚庡彴鎺ュ彛锛堝彧闇�瑕佹敼.env鐩稿叧閰嶇疆鏂囦欢鍗冲彲锛� issues/3462 寰堝浜烘澶勫仛浜嗛厤缃紝瀵艰嚧鍒锋柊鍓嶇404闂锛岃涓�瀹氭敞鎰�*/ - '/api': { - target: 'http://127.0.0.1:9998', + '/jeecg-boot': { + target: 'http://localhost:9999', // 璇锋眰鏈湴 闇�瑕乯eecg-boot鍚庡彴椤圭洰 ws: false, - changeOrigin: true, - pathRewrite: { - '^/api': '' - } + changeOrigin: true } } }, -- Gitblit v1.9.3