master
parent
96e5c4ef08
commit
10a1d69fe1
2
main.js
2
main.js
|
|
@ -13,7 +13,7 @@ $http.baseUrl="http://local.gunshiiot.com:18083"
|
||||||
$http.beforeRequest=function(options){
|
$http.beforeRequest=function(options){
|
||||||
uni.showLoading({
|
uni.showLoading({
|
||||||
title:"数据加载中",
|
title:"数据加载中",
|
||||||
})
|
})
|
||||||
if(options.url.indexOf('/my/') !==-1){
|
if(options.url.indexOf('/my/') !==-1){
|
||||||
options.header={
|
options.header={
|
||||||
Authorization:store.state.address.token
|
Authorization:store.state.address.token
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue