From 1eda841829c3e5ffdab59efa21c938c4d7653ab4 Mon Sep 17 00:00:00 2001
From: gaoshp <291585735@qq.com>
Date: 星期二, 09 四月 2024 22:52:57 +0800
Subject: [PATCH] 分类维护

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

diff --git a/vue.config.js b/vue.config.js
index 1ef0d9a..8fdc9eb 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -1,6 +1,13 @@
+/*
+ * @Date: 2024-03-23 09:49:06
+ * @LastEditors: lzhe lzhe@example.com
+ * @LastEditTime: 2024-03-28 11:34:07
+ * @FilePath: /cps-web/vue.config.js
+ */
 const { defineConfig } = require('@vue/cli-service')
 
 module.exports = defineConfig({
+	lintOnSave: false,
 	//璁剧疆涓虹┖鎵撳寘鍚庝笉鍒嗘洿鐩綍杩樻槸澶氱骇鐩綍
 	publicPath:'',
 	//build缂栬瘧鍚庡瓨鏀鹃潤鎬佹枃浠剁殑鐩綍
@@ -19,7 +26,14 @@
 				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