Explorar o código

修改前端代理配置

hanqingsong hai 1 ano
pai
achega
c6cbe9aa2d
Modificáronse 3 ficheiros con 7 adicións e 3 borrados
  1. 4 0
      README.md
  2. 1 1
      config/prod.env.js
  3. 2 2
      src/api/index.js

+ 4 - 0
README.md

@@ -6,6 +6,10 @@
6
 
6
 
7
 ``` bash
7
 ``` bash
8
 # install dependencies
8
 # install dependencies
9
+npm install git+ssh://git@github.com:eligrey/FileSaver.js.git
10
+npm install jspdf
11
+npm install node-sass --save
12
+npm install --save echarts
9
 npm install
13
 npm install
10
 
14
 
11
 # serve with hot reload at localhost:8080
15
 # serve with hot reload at localhost:8080

+ 1 - 1
config/prod.env.js

@@ -1,5 +1,5 @@
1
 'use strict'
1
 'use strict'
2
 module.exports = {
2
 module.exports = {
3
     NODE_ENV: '"production"',
3
     NODE_ENV: '"production"',
4
-    BASE_API: '"http://172.16.0.46:9025"', //内网
4
+    BASE_API: '"http://172.16.0.46:9527"', //内网
5
 };
5
 };

+ 2 - 2
src/api/index.js

@@ -22,7 +22,7 @@ export const depot_intelligent = '/depot-intelligent'
22
 // 开发服务器
22
 // 开发服务器
23
 // let service = ''
23
 // let service = ''
24
 // export const projectApps ='/submit'
24
 // export const projectApps ='/submit'
25
-export const serviceApi = depot_system
25
+/*export const serviceApi = depot_system
26
 export const projectApps = depot_system + '/cbl-app'
26
 export const projectApps = depot_system + '/cbl-app'
27
 export const projectAppsArea = depot_system + '/county-cbl-app'
27
 export const projectAppsArea = depot_system + '/county-cbl-app'
28
 
28
 
@@ -96,4 +96,4 @@ export const cwbb = depot_system + '/irpt-app'
96
 export const kjdepot = depot_system + '/kjdepot';
96
 export const kjdepot = depot_system + '/kjdepot';
97
 export const zhcx = depot_system + "/kjjg";
97
 export const zhcx = depot_system + "/kjjg";
98
 // 运维服务-视频监控统计
98
 // 运维服务-视频监控统计
99
-export const cjjd = depot_system + '/cjjd'
99
+export const cjjd = depot_system + '/cjjd'*/