4.17跳转提交
This commit is contained in:
parent
5b0c9b5155
commit
5f25b23564
|
|
@ -340,7 +340,14 @@ import { basePath } from '../../public'
|
|||
} else if (res.data.code == 500) {
|
||||
uni.showToast({
|
||||
icon: 'none',
|
||||
title: '登录状态已过期,请重新登录!'
|
||||
title: '登录状态已过期,请重新登录!',
|
||||
success: () => {
|
||||
uni.removeStorageSync('token')
|
||||
uni.removeStorageSync('userInfo')
|
||||
uni.reLaunch({
|
||||
url: '/pages/login/login'
|
||||
})
|
||||
}
|
||||
})
|
||||
} else {
|
||||
uni.showToast({
|
||||
|
|
|
|||
|
|
@ -358,7 +358,14 @@ import { basePath } from '../../public'
|
|||
} else if (res.data.code == 500) {
|
||||
uni.showToast({
|
||||
icon: 'none',
|
||||
title: '登录状态已过期,请重新登录!'
|
||||
title: '登录状态已过期,请重新登录!',
|
||||
success: () => {
|
||||
uni.removeStorageSync('token')
|
||||
uni.removeStorageSync('userInfo')
|
||||
uni.reLaunch({
|
||||
url: '/pages/login/login'
|
||||
})
|
||||
}
|
||||
})
|
||||
}
|
||||
}).catch(err => {
|
||||
|
|
|
|||
|
|
@ -643,13 +643,15 @@ import { basePath } from '../../public'
|
|||
that.showLoading = false
|
||||
uni.showToast({
|
||||
icon: 'none',
|
||||
title: '登录状态已过期,请重新登录!'
|
||||
title: '登录状态已过期,请重新登录!',
|
||||
success: () => {
|
||||
uni.removeStorageSync('token')
|
||||
uni.removeStorageSync('userInfo')
|
||||
uni.reLaunch({
|
||||
url: '/pages/login/login'
|
||||
})
|
||||
}
|
||||
})
|
||||
/* setTimeout(() => {
|
||||
uni.reLaunch({
|
||||
url: '/pages/login/login'
|
||||
})
|
||||
}, 200) */
|
||||
} else {
|
||||
that.showLoading = false
|
||||
uni.showToast({
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
<span>已认证</span>
|
||||
</h4>
|
||||
</view>
|
||||
<u-cell-group style="width: 95%; margin: 15rpx auto;" :border="false">
|
||||
<!-- <u-cell-group style="width: 95%; margin: 15rpx auto;" :border="false">
|
||||
<u-cell
|
||||
title="个人信息"
|
||||
:isLink="true"
|
||||
|
|
@ -32,7 +32,7 @@
|
|||
:border="false"
|
||||
>
|
||||
</u-cell>
|
||||
</u-cell-group>
|
||||
</u-cell-group> -->
|
||||
<!-- <button ></button> -->
|
||||
<view
|
||||
class="exit-log"
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1 +1 @@
|
|||
https://app.liuyingyong.cn/build/download/45b01760-f60e-11ee-af20-cdedf0f0a7ec
|
||||
https://app.liuyingyong.cn/build/download/bdfad4c0-fafd-11ee-bf83-f33121d734c6
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue