From 2aa506566031eae9a53006119db0cea8c876e6c3 Mon Sep 17 00:00:00 2001
From: yangfeng <wanwan926_4@163.com>
Date: 星期一, 01 四月 2024 11:42:23 +0800
Subject: [PATCH] 选择产品信息单位处理

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

diff --git a/vue.config.js b/vue.config.js
index d8343db..40cc61e 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -12,17 +12,21 @@
   lintOnSave: false,
   productionSourceMap: false, // 濡傛灉浣犱笉闇�瑕佺敓浜х幆澧冪殑source map, 鍙互灏嗗叾璁剧疆涓篺alse 浠ュ姞閫熺敓浜х幆澧冩瀯寤�
   devServer: {
+    historyApiFallback: true,
+    allowedHosts: "all",
     proxy: {
-      "/api/menu":{
-        target:"http://192.168.20.119:8001",
+      // "/api/menu": {
+      //   target: "http://192.168.20.119:8001",
+      //   ws: true,
+      //   changeOrigin: true
+      // },
+      "/api-outsourcing": {
+        target: "http://192.168.20.119:8009",
         ws: true,
         changeOrigin: true
       },
       "/api": {
-
-        // target: "http://192.168.20.118:8889", // http://192.168.20.119:8002 http://fai365.com:30150/
-        // target: "http://192.168.20.120:8004", 
-        target: "http://192.168.20.119:8004", // http://192.168.20.119:8004 http://fai365.com:30150/
+        target: "http://192.168.20.119:8001",
         ws: true,
         changeOrigin: true
       }

--
Gitblit v1.8.0