Pārlūkot izejas kodu

修改前端代理配置

hanqingsong 1 gadu atpakaļ
vecāks
revīzija
c6cbe9aa2d
3 mainītis faili ar 7 papildinājumiem un 3 dzēšanām
  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 7
 ``` bash
8 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 13
 npm install
10 14
 
11 15
 # serve with hot reload at localhost:8080

+ 1 - 1
config/prod.env.js

@@ -1,5 +1,5 @@
1 1
 'use strict'
2 2
 module.exports = {
3 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 23
 // let service = ''
24 24
 // export const projectApps ='/submit'
25
-export const serviceApi = depot_system
25
+/*export const serviceApi = depot_system
26 26
 export const projectApps = depot_system + '/cbl-app'
27 27
 export const projectAppsArea = depot_system + '/county-cbl-app'
28 28
 
@@ -96,4 +96,4 @@ export const cwbb = depot_system + '/irpt-app'
96 96
 export const kjdepot = depot_system + '/kjdepot';
97 97
 export const zhcx = depot_system + "/kjjg";
98 98
 // 运维服务-视频监控统计
99
-export const cjjd = depot_system + '/cjjd'
99
+export const cjjd = depot_system + '/cjjd'*/