Browse Source

修改仓储bug

胡半仙 3 years ago
parent
commit
dd3d68e319
2 changed files with 4 additions and 4 deletions
  1. 2 2
      build/utils.js
  2. 2 2
      config/index.js

+ 2 - 2
build/utils.js

@@ -15,9 +15,9 @@ const devPathSrc = path.resolve(__dirname, '../../../src'); // node_modules应
 // ['index','appoint','configManager','homepage','inward','queue','RMS','sale','serviceManager','SporadicManage'
 // ['index','appoint','configManager','homepage','inward','queue','RMS','sale','serviceManager','SporadicManage'
 //       统计报表       组织机构/系统管理 采购  仓储
 //       统计报表       组织机构/系统管理 采购  仓储
 //  'statisticalReport','systemConfig','TMS','WMS','workFlow']
 //  'statisticalReport','systemConfig','TMS','WMS','workFlow']
-// let devModules = ['all']
+let devModules = ['all']
 // let devModules = ['index','SporadicManage','TMS','statisticalReport','RMS'];
 // let devModules = ['index','SporadicManage','TMS','statisticalReport','RMS'];
-let devModules = ['index','appoint','TMS','WMS'];
+// let devModules = ['index','appoint','TMS','WMS'];
 if (pathSrc.indexOf('node_modules') > -1) {
 if (pathSrc.indexOf('node_modules') > -1) {
     devModules = require('../../../cors.js').devModules;
     devModules = require('../../../cors.js').devModules;
 }
 }

+ 2 - 2
config/index.js

@@ -64,9 +64,9 @@ let proxyTable = {
   },
   },
   // 所有数据的请求域名地址
   // 所有数据的请求域名地址
   "/api/v1": {
   "/api/v1": {
-    // target: "http://172.16.33.166:8080",
+    target: "http://172.16.33.166:8080",
     // target: "http://localhost:8019",
     // target: "http://localhost:8019",
-    target: "http://localhost:8080",
+    // target: "http://localhost:8080",
     // target: "http://192.168.1.114:8019",
     // target: "http://192.168.1.114:8019",
     ws: true,
     ws: true,
     pathRewrite: {
     pathRewrite: {