From 4c71426795d126d0491f2e4105090273909e6d51 Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期五, 19 四月 2024 15:16:38 +0800
Subject: [PATCH] 辅助数量限制值修改

---
 vue.config.js |   28 +++++++++++++++++++---------
 1 files changed, 19 insertions(+), 9 deletions(-)

diff --git a/vue.config.js b/vue.config.js
index b48fa64..46e2961 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -13,15 +13,25 @@
   productionSourceMap: false, // 濡傛灉浣犱笉闇�瑕佺敓浜х幆澧冪殑source map, 鍙互灏嗗叾璁剧疆涓篺alse 浠ュ姞閫熺敓浜х幆澧冩瀯寤�
   devServer: {
     proxy: {
-      "/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/
-
+      "/api-s": {
+        target: "http://192.168.20.119:8005", // 
+        // target:"http://fai365.com:9083",  // 
         ws: true,
         changeOrigin: true
-      }
+      },
+      "/api-wms": {
+        target: "http://192.168.20.119:8005",
+        // target:"http://fai365.com:9083",
+        ws: true,
+        changeOrigin: true
+      },
+      "/api/menu": {
+        target: "http://192.168.20.119:8001",
+         //娉細 鏆傛椂浣跨敤====鐢ㄦ埗鏉冮檺锛岃鑹叉殏鏃剁敤鐨勭幆澧�
+        //  target: "http://192.168.20.119:8011",
+        ws: true,
+        changeOrigin: true,
+      },
     }
   },
   transpileDependencies: [
@@ -29,13 +39,13 @@
     "crypto-js",
     "sockjs-client"
   ],
-  configureWebpack: (config) => {
+  configureWebpack: () => {
     const configNew = {}
     if (process.env.NODE_ENV === "production") {
       configNew.externals = externals
       configNew.plugins = []
     } else if (process.env.NODE_ENV === "development") {
-      console.log("development", config)
+      // console.log("development", config)
     }
     return configNew
   },

--
Gitblit v1.8.0