liyg 2 년 전
부모
커밋
4c1e83cdbf
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      build/utils.js
  2. 1 1
      config/index.js

+ 1 - 1
build/utils.js

@@ -16,7 +16,7 @@ const devPathSrc = path.resolve(__dirname, '../../../src') // node_modules应用
 //       统计报表       组织机构/系统管理 采购  仓储
 //  'statisticalReport','systemConfig','TMS','WMS','workFlow','ADMINISTRATORS']
 //let devModules = ["index", "statisticalReport", "appoint", "sale"];
-let devModules = ['index', 'TMS', 'statisticalReport']
+let devModules = ['all']
 
 if (pathSrc.indexOf('node_modules') > -1) {
   devModules = require('../../../cors.js').devModules

+ 1 - 1
config/index.js

@@ -74,7 +74,7 @@ let proxyTable = {
   '/api/v1': {
     // target: 'http://172.16.33.166:80',
     // target: 'http://localhost:8080',
-    target: 'http://192.168.1.102:8080',
+    target: 'http://172.16.33.166:80',
     ws: true,
     pathRewrite: {
       '^/api/v1': '/api/v1'