From eb2622b27b78f372d8e89ad7afde56c79532ac98 Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期二, 26 三月 2024 10:32:16 +0800
Subject: [PATCH] 1.仓库看板字段修改
---
vue.config.js | 21 ++++++++++++++++++++-
1 files changed, 20 insertions(+), 1 deletions(-)
diff --git a/vue.config.js b/vue.config.js
index 55cc9ac..5a3ecee 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -37,7 +37,26 @@
warnings: false,
errors: true
},
- before: require('./mock/mock-server.js')
+ proxy: {
+ [process.env.VUE_APP_BASE_API]: {
+ target: 'http://121.196.36.24:8029', // 璇锋眰鐨勭涓夆絽鎺モ紳鍦板潃 鏈湴寮�鍙戞湇鍔″櫒
+ // target: 'http://192.168.0.111:8001', // 璇锋眰鐨勭涓夆絽鎺モ紳鍦板潃 瀹㈡埛鏈嶅姟鍣�
+ changeOrigin: true, // 璇锋眰璺ㄥ煙鏃讹紝闇� 閰嶇疆姝ら」
+ pathRewrite: { // 璺緞閲嶅啓,鏇挎崲target涓殑璇锋眰鍦板潃
+ ['^' + process.env.VUE_APP_BASE_API]: '/api/'
+ }
+ // ws: true;//寮�鍚痺s, 濡傛灉鏄痟ttp浠g悊姝ゅ鍙互涓嶇敤璁剧疆
+ }
+ // [process.env.VUE_APP_BASE_API_BASE]: {
+ // target: 'http://121.196.36.24:8019', // 璇锋眰鐨勭涓夆絽鎺モ紳鍦板潃 鏈湴寮�鍙戞湇鍔″櫒
+ // changeOrigin: true, // 璇锋眰璺ㄥ煙鏃讹紝闇� 閰嶇疆姝ら」
+ // pathRewrite: { // 璺緞閲嶅啓,鏇挎崲target涓殑璇锋眰鍦板潃
+ // ['^' + process.env.VUE_APP_BASE_API_BASE]: '/base/'
+ // }
+ // // ws: true;//寮�鍚痺s, 濡傛灉鏄痟ttp浠g悊姝ゅ鍙互涓嶇敤璁剧疆
+ // }
+ }
+ // before: require('./mock/mock-server.js')
},
configureWebpack: {
// provide the app's title in webpack's name field, so that
--
Gitblit v1.9.3