修改注销之后重新进入护理站列表页面为空白页的bug
This commit is contained in:
parent
1193d1ae5c
commit
4866fb4ef2
@ -135,6 +135,10 @@
|
|||||||
if (res.confirm) {
|
if (res.confirm) {
|
||||||
accountCancellation(that.patientId).then(res => {
|
accountCancellation(that.patientId).then(res => {
|
||||||
if (res.code == 200) {
|
if (res.code == 200) {
|
||||||
|
uni.removeStorageSync('patientId');
|
||||||
|
uni.removeStorageSync('phone');
|
||||||
|
uni.removeStorageSync('password');
|
||||||
|
uni.removeStorageSync('token');
|
||||||
uni.reLaunch({
|
uni.reLaunch({
|
||||||
url: "/pages/login/login"
|
url: "/pages/login/login"
|
||||||
})
|
})
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user