退出登录
This commit is contained in:
parent
52ebf12052
commit
b701d44c8f
@ -274,7 +274,13 @@
|
|||||||
type: 'success',
|
type: 'success',
|
||||||
duration: '1000'
|
duration: '1000'
|
||||||
})
|
})
|
||||||
setTimeout(e => {
|
createMobileToken().then(res => {
|
||||||
|
uni.setStorageSync("token", res.data.token)
|
||||||
|
})
|
||||||
|
if (that.timer) {
|
||||||
|
clearTimeout(that.timer)
|
||||||
|
}
|
||||||
|
that.timer=setTimeout(e => {
|
||||||
uni.switchTab({
|
uni.switchTab({
|
||||||
url: '/pages/homepage/homepage'
|
url: '/pages/homepage/homepage'
|
||||||
})
|
})
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user