From b49bf267402c81be232ea41aaf038db4f2997375 Mon Sep 17 00:00:00 2001 From: lixuliang <lixuliang_hd@126.com> Date: 星期一, 13 十一月 2023 10:42:17 +0800 Subject: [PATCH] 土地管理弹框样式修改 --- config/index.js | 20 ++++++++++++++++++-- 1 files changed, 18 insertions(+), 2 deletions(-) diff --git a/config/index.js b/config/index.js index 630fa1a..d6c5d76 100644 --- a/config/index.js +++ b/config/index.js @@ -20,7 +20,7 @@ notifyOnErrors: true, poll: false, // https://webpack.js.org/configuration/dev-server/#devserver-watchoptions- - + /** * Source Maps */ @@ -33,7 +33,23 @@ // https://vue-loader.vuejs.org/en/options.html#cachebusting cacheBusting: true, - cssSourceMap: true + cssSourceMap: true, + proxyTable: { + // 杩欓噷閰嶇疆 '/api' 灏辩瓑浠蜂簬 target , 浣犲湪閾炬帴閲岃闂� /api === http://localhost:54321 + '/api': { + target: 'http://10.10.4.121:8070', + // secure: true, // 濡傛灉鏄� https ,闇�瑕佸紑鍚繖涓�夐」 + changeOrigin: true, // 鏄惁鏄法鍩熻姹�?鑲畾鏄晩,涓嶈法鍩熷氨娌℃湁蹇呰閰嶇疆杩欎釜proxyTable浜�. + pathRewrite: { // 閲嶅啓璺緞 渚嬪娴忚鍣ㄨ姹傚湴鍧�http://localhost:12345/xxx,瀹為檯璇锋眰鐨勬槸浣犱唬鐞嗙殑鍦板潃锛歨ttp:xxx/11111 + // 杩欓噷鏄拷鍔犻摼鎺�,姣斿鐪熸槸鎺ュ彛閲屽寘鍚簡 /api,灏遍渶瑕佽繖鏍烽厤缃�. + '^/api': '', // 鍜屼笅杈逛袱绉嶅啓娉曪紝鍥犱汉鑰屽紓鏍规嵁闇�姹傘�� + // 绛変环浜� /api + /api == http://localhost:54321/api + // 濡傛灉鍐欎负 '^/api' : '/' + // 绛変环浜� /api + / == http://localhost:54321/ + // 杩欓噷鐨� /api == http://localhost:54321 + } + } + } }, build: { -- Gitblit v1.9.3