From 3f4328357a4bb89a3256b834e1ef2b07fc3c3d0e Mon Sep 17 00:00:00 2001
From: lzhe <lzhe@example.com>
Date: 星期日, 29 九月 2024 14:11:04 +0800
Subject: [PATCH] 1

---
 vue.config.js |   16 +++++-----------
 1 files changed, 5 insertions(+), 11 deletions(-)

diff --git a/vue.config.js b/vue.config.js
index 095362b..cb2ce67 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -1,12 +1,13 @@
 /*
  * @Date: 2024-03-23 09:49:06
- * @LastEditors: gaoshp
- * @LastEditTime: 2024-03-23 18:21:49
- * @FilePath: /cps-web/vue.config.js
+ * @LastEditors: Sneed
+ * @LastEditTime: 2024-04-10 22:11:52
+ * @FilePath: /belleson-frontend/Users/mache/Documents/demo/cps-web/vue.config.js
  */
 const { defineConfig } = require('@vue/cli-service')
 
 module.exports = defineConfig({
+	lintOnSave: false,
 	//璁剧疆涓虹┖鎵撳寘鍚庝笉鍒嗘洿鐩綍杩樻槸澶氱骇鐩綍
 	publicPath:'',
 	//build缂栬瘧鍚庡瓨鏀鹃潤鎬佹枃浠剁殑鐩綍
@@ -25,16 +26,9 @@
 				target: process.env.VUE_APP_API_BASEURL,
 				ws: true,
 				pathRewrite: {
-					'^/api': '/'
+					// '^/api': '/'
 				}
 			},
-			'/myapi': {
-				target: process.env.VUE_APP_API_MYBASEURL,
-				ws: true,
-				pathRewrite: {
-					'^/myapi': '/'
-				}
-			}
 		}
 	},
 

--
Gitblit v1.9.3