agv
This commit is contained in:
@@ -100,7 +100,7 @@
|
||||
"disableHostCheck" : true,
|
||||
"proxy" : {
|
||||
"/api" : {
|
||||
"target" : "http://192.168.2.101:8888",
|
||||
"target" : "http://192.168.0.31:8888",
|
||||
"pathRewrite" : {
|
||||
"^/api" : ""
|
||||
}
|
||||
|
||||
17
pages.json
17
pages.json
@@ -2,19 +2,26 @@
|
||||
"globalStyle": {
|
||||
"navigationBarTextStyle": "black",
|
||||
"navigationBarTitleText": "DOAN",
|
||||
"navigationBarBackgroundColor": "#FFFFFF",
|
||||
"navigationBarBackgroundColor": "#FFFFFF"
|
||||
|
||||
},
|
||||
"tabBar": {
|
||||
"color": "#7A7E83",
|
||||
"selectedColor": "#3cc51f",
|
||||
"borderStyle": "black",
|
||||
"backgroundColor": "#ffffff",
|
||||
"list": [
|
||||
{
|
||||
"list": [{
|
||||
"pagePath": "pages/index/index",
|
||||
"iconPath": "static/images/tabbar/home.png",
|
||||
"selectedIconPath": "static/images/home_.png",
|
||||
"text": "首页"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/agv/agv",
|
||||
"iconPath": "static/images/tabbar/work.png",
|
||||
"selectedIconPath": "static/images/work_.png",
|
||||
"text": "AGV"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/agv/agv",
|
||||
"iconPath": "static/images/tabbar/work.png",
|
||||
@@ -22,7 +29,6 @@
|
||||
"text": "AGV"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"pages": [{
|
||||
"path": "pages/login/login",
|
||||
@@ -85,8 +91,7 @@
|
||||
},
|
||||
{
|
||||
"path": "pages/agv/agv",
|
||||
"style" :
|
||||
{
|
||||
"style": {
|
||||
"navigationBarTitleText": "AGV",
|
||||
"enablePullDownRefresh": false
|
||||
}
|
||||
|
||||
@@ -18,9 +18,9 @@ import {
|
||||
let timeout = 10000
|
||||
const request = config => {
|
||||
// 浏览器测试用
|
||||
// const storageBaseUrl = 'http://' + getBaseUrl() + '/api';
|
||||
const storageBaseUrl = 'http://' + getBaseUrl() + '/api';
|
||||
// 真机测试以及部署用
|
||||
const storageBaseUrl = 'http://' + getBaseUrl();
|
||||
//const storageBaseUrl = 'http://' + getBaseUrl();
|
||||
// 是否需要设置 token
|
||||
const isToken = (config.headers || {}).isToken === false
|
||||
config.header = config.header || {}
|
||||
|
||||
Reference in New Issue
Block a user