From 8be3182372eb774dce8f9c97a0b51c03bda165c7 Mon Sep 17 00:00:00 2001 From: wangting <675591594@qq.com> Date: 星期一, 08 四月 2024 15:33:11 +0800 Subject: [PATCH] UI展示 --- Source/ProjectWeb/vue.config.js | 28 ++++++++++++++-------------- 1 files changed, 14 insertions(+), 14 deletions(-) diff --git a/Source/ProjectWeb/vue.config.js b/Source/ProjectWeb/vue.config.js index c5a5155..5a976af 100644 --- a/Source/ProjectWeb/vue.config.js +++ b/Source/ProjectWeb/vue.config.js @@ -22,19 +22,19 @@ }, //寮�鍙戞ā寮忓弽鍚戜唬鐞嗛厤缃紝鐢熶骇妯″紡璇蜂娇鐢∟ginx閮ㄧ讲骞堕厤缃弽鍚戜唬鐞� devServer: { - port: 8080, - // proxy: { - // '/api': { - // //鏈湴鏈嶅姟鎺ュ彛鍦板潃 - // target: 'http://192.168.0.106:37000', - // // target: 'http://dev.vci-tech.com:37000', - // //杩滅▼婕旂ず鏈嶅姟鍦板潃,鍙敤浜庣洿鎺ュ惎鍔ㄩ」鐩� - // //target: 'https://saber.bladex.vip/api', - // ws: true, - // pathRewrite: { - // '^/api': '/' - // } - // } - // } + port: 12000, + proxy: { + '/api': { + //鏈湴鏈嶅姟鎺ュ彛鍦板潃 + target: 'http://192.168.0.103:12000/web', + // target: 'http://dev.vci-tech.com:37000', + //杩滅▼婕旂ず鏈嶅姟鍦板潃,鍙敤浜庣洿鎺ュ惎鍔ㄩ」鐩� + //target: 'https://saber.bladex.vip/api/', + ws: true, + pathRewrite: { + '^/api': '/' + } + } + } } }; -- Gitblit v1.9.3