luobang 2 jaren geleden
bovenliggende
commit
fc3e4f18db
2 gewijzigde bestanden met toevoegingen van 4 en 3 verwijderingen
  1. 2 1
      build/utils.js
  2. 2 2
      config/index.js

+ 2 - 1
build/utils.js

@@ -17,7 +17,8 @@ const devPathSrc = path.resolve(__dirname, "../../../src"); // node_modules应
 //  'statisticalReport','systemConfig','TMS','WMS','workFlow']
 // let devModules = ["index", "appoint", "statisticalReport", "WMS","TMS"];
 // let devModules = ["index", "TMS", "appoint", "WMS", "queue"];
-let devModules = ["index", "statisticalReport", "inward"];
+// let devModules = ["index", "statisticalReport", "inward"];
+let devModules = ["all"];
 
 if (pathSrc.indexOf("node_modules") > -1) {
   devModules = require("../../../cors.js").devModules;

+ 2 - 2
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.101:8080",
     ws: true,
     pathRewrite: {