Tiroble 3 年 前
コミット
db4613fefa
2 ファイル変更6 行追加6 行削除
  1. 2 2
      build/utils.js
  2. 4 4
      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'
 //       统计报表       组织机构/系统管理 采购  仓储
 //  'statisticalReport','systemConfig','TMS','WMS','workFlow']
-let devModules = ['all']
+// let devModules = ['all']
 // let devModules = ['index','SporadicManage','TMS','statisticalReport','RMS'];
-// let devModules = ['index','appoint','WMS'];
+let devModules = ['index','appoint','WMS'];
 if (pathSrc.indexOf('node_modules') > -1) {
     devModules = require('../../../cors.js').devModules;
 }

+ 4 - 4
config/index.js

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