秦子超 2024-06-05 17:32:54 +08:00
parent 96e5c4ef08
commit 10a1d69fe1
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ $http.baseUrl="http://local.gunshiiot.com:18083"
$http.beforeRequest=function(options){
uni.showLoading({
title:"数据加载中",
})
})
if(options.url.indexOf('/my/') !==-1){
options.header={
Authorization:store.state.address.token