Fix(我的):登录过期未跳转至登录界面

This commit is contained in:
lifizer
2024-09-25 23:10:19 +08:00
parent dcff3181b3
commit 69540415ec
+5
View File
@@ -459,6 +459,11 @@ export default {
uni.hideLoading()
}).catch(err => {
uni.hideLoading()
if (err.toLogin) {
uni.reLaunch({
url: '/pages/authorization/index'
})
}
}).finally(() => {
uni.hideLoading()
})