Fix(我的):登录过期未跳转至登录界面
This commit is contained in:
@@ -459,6 +459,11 @@ export default {
|
|||||||
uni.hideLoading()
|
uni.hideLoading()
|
||||||
}).catch(err => {
|
}).catch(err => {
|
||||||
uni.hideLoading()
|
uni.hideLoading()
|
||||||
|
if (err.toLogin) {
|
||||||
|
uni.reLaunch({
|
||||||
|
url: '/pages/authorization/index'
|
||||||
|
})
|
||||||
|
}
|
||||||
}).finally(() => {
|
}).finally(() => {
|
||||||
uni.hideLoading()
|
uni.hideLoading()
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user