liyg 2 年之前
父節點
當前提交
905862758a
共有 2 個文件被更改,包括 5 次插入5 次删除
  1. 1 1
      build/utils.js
  2. 4 4
      config/index.js

+ 1 - 1
build/utils.js

@@ -29,7 +29,7 @@ const devPathSrc = path.resolve(__dirname, "../../../src"); // node_modules应
 // let devModules = ["index", "appoint", "inward", "statisticalReport", "RMS"];
 // let devModules = ["index", "appoint", "inward", "TMS"];
 // let devModules = ["all"];
-let devModules = ["index", "appoint", "inward", "queue", "statisticalReport"];
+let devModules = ["all"];
 // let devModules = ['index','appoint','sale','statisticalReport','RMS','TMS','WMS']
 // let devModules = ["index", "ADMINISTRATORS", "RMS"];
 // let devModules = ["index", "inward", "statisticalReport"];

+ 4 - 4
config/index.js

@@ -65,8 +65,8 @@ let proxyTable = {
   },
   // 所有数据的请求域名地址
   "/api/v1": {
-    // target: "http://172.16.33.166:80",
-    target: "http://localhost:8080",
+     target: "http://172.16.33.166:80",
+    //target: "http://localhost:8080",
     // target: "http://192.168.1.109:8080",
     ws: true,
     pathRewrite: {
@@ -74,8 +74,8 @@ let proxyTable = {
     }
   },
   "/views/api/v1": {
-    // target: "http://172.16.33.166:80",
-    target: "http://192.168.1.109:8080",
+     target: "http://172.16.33.166:80",
+   // target: "http://192.168.1.109:8080",
     ws: true,
     pathRewrite: {
       "^/views/api/v1": "/api/v1"