[过期跳转处理,replace不好用]
This commit is contained in:
@@ -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'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
BIN
unpackage/cache/apk/__UNI__1F65101_cm.apk
vendored
BIN
unpackage/cache/apk/__UNI__1F65101_cm.apk
vendored
Binary file not shown.
2
unpackage/cache/apk/apkurl
vendored
2
unpackage/cache/apk/apkurl
vendored
@@ -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
|
||||||
2
unpackage/cache/apk/cmManifestCache.json
vendored
2
unpackage/cache/apk/cmManifestCache.json
vendored
File diff suppressed because one or more lines are too long
1211
unpackage/dist/dev/app-plus/app-service.js
vendored
1211
unpackage/dist/dev/app-plus/app-service.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user