Browse Source

提交代码

zengyf 2 years ago
parent
commit
d42ba8b755
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

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

+ 2 - 2
config/index.js

@@ -72,8 +72,8 @@ let proxyTable = {
   },
   },
   // 所有数据的请求域名地址
   // 所有数据的请求域名地址
   '/api/v1': {
   '/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.104:8080',
     // target: 'http://192.168.1.104:8080',
     ws: true,
     ws: true,
     pathRewrite: {
     pathRewrite: {