From ef731b512cc3f9db6af0894444ecdb262f527ca6 Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期五, 14 七月 2023 08:30:08 +0800
Subject: [PATCH] 1.递交
---
vue.config.js | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/vue.config.js b/vue.config.js
index 957b3d6..0867e45 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -58,6 +58,14 @@
['^' + 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')
--
Gitblit v1.9.3