From a3fd83b160654d3252bd39e8f9e4c6b010c0ac82 Mon Sep 17 00:00:00 2001
From: gaoshp <291585735@qq.com>
Date: 星期六, 23 三月 2024 19:13:26 +0800
Subject: [PATCH] 新增主数据菜单

---
 vue.config.js |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/vue.config.js b/vue.config.js
index 1ef0d9a..095362b 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -1,3 +1,9 @@
+/*
+ * @Date: 2024-03-23 09:49:06
+ * @LastEditors: gaoshp
+ * @LastEditTime: 2024-03-23 18:21:49
+ * @FilePath: /cps-web/vue.config.js
+ */
 const { defineConfig } = require('@vue/cli-service')
 
 module.exports = defineConfig({
@@ -21,6 +27,13 @@
 				pathRewrite: {
 					'^/api': '/'
 				}
+			},
+			'/myapi': {
+				target: process.env.VUE_APP_API_MYBASEURL,
+				ws: true,
+				pathRewrite: {
+					'^/myapi': '/'
+				}
 			}
 		}
 	},

--
Gitblit v1.9.3