Compare commits

..

No commits in common. "c0bd874c22a4cc519c5ee00cc43666ec19bcd3e3" and "4fe3051d530f159b1b11fc5fcbe4e6b1152f9b90" have entirely different histories.

1 changed files with 0 additions and 15 deletions

View File

@ -57,7 +57,6 @@ module.exports = vm => {
// 响应拦截
uni.$u.http.interceptors.response.use(
response => {
console.log(response, '......response')
const data = response.data
// uni.$u.toast(data.msg)
// if (data.code == 200) {
@ -78,20 +77,6 @@ module.exports = vm => {
})
}, 1500)
} else if (data.code == 500) {
if (['/member/api/member/get-info'].includes(response?.config?.url)) {
uni.showToast({
title: '登录失败',
icon: 'none',
duration: 800,
})
setTimeout(() => {
uni.reLaunch({
url: '/pages/login/index',
})
}, 800)
removeToken()
return data
}
uni.$u.toast(data.msg)
return data
} else {