Merge branch 'hotfix/签名bug修改' into dev

This commit is contained in:
na.guo
2020-08-13 17:40:24 +08:00

View File

@@ -113,12 +113,12 @@ service.interceptors.request.use(
config => {
let relativePath = config.url && config.url.split('v1')[1]
if (whiteList.includes(relativePath)) {
// Toast.loading({
// duration: 0, // 持续展示 toast
// forbidClick: true, // 禁用背景点击
// loadingType: 'spinner',
// message: '加载中……'
// })
Toast.loading({
duration: 0, // 持续展示 toast
forbidClick: true, // 禁用背景点击
loadingType: 'spinner',
message: '加载中……'
})
}
config.headers['token'] = window.localStorage.getItem('token')