修改注销之后重新进入护理站列表页面为空白页的bug

This commit is contained in:
曹辉 2023-02-15 15:20:06 +08:00
parent 1193d1ae5c
commit 4866fb4ef2

View File

@ -135,6 +135,10 @@
if (res.confirm) {
accountCancellation(that.patientId).then(res => {
if (res.code == 200) {
uni.removeStorageSync('patientId');
uni.removeStorageSync('phone');
uni.removeStorageSync('password');
uni.removeStorageSync('token');
uni.reLaunch({
url: "/pages/login/login"
})