[过期跳转处理,replace不好用]

This commit is contained in:
2021-10-26 11:36:14 +08:00
parent f4f3bb8de1
commit 6c3add5e5a
5 changed files with 613 additions and 611 deletions

View File

@@ -6,6 +6,7 @@
*/ */
import store from '@/store' import store from '@/store'
import router from '../router'
// 基础配置 // 基础配置
const config = { const config = {
@@ -145,10 +146,12 @@ const loginHint = () => {
showCancel:false, showCancel:false,
success: res=> { success: res=> {
loginHintState = false loginHintState = false
if (res.confirm) uni.switchTab({ if (res.confirm) {
uni.reLaunch({
url:'/pages/index/index' url:'/pages/index/index'
}) })
} }
}
}) })
} }

Binary file not shown.

View File

@@ -1 +1 @@
https://ide.dcloud.net.cn/build/download/75611920-2a3a-11ec-88c9-6fddd16606cb https://ide.dcloud.net.cn/build/download/0d3c4fb0-3600-11ec-ad45-7370da617fe0

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long