修改退出登录

This commit is contained in:
qiaomu 2024-08-02 17:12:13 +08:00
parent 5147843266
commit f1358c2315
2 changed files with 4 additions and 4 deletions

View File

@ -41,8 +41,8 @@ Page({
// })
// return
// }
wx.redirectTo({
url: '/pages/login/index',
wx.switchTab({
url: '/pages/home/index',
})
},
async getPrivacy() {

View File

@ -90,8 +90,8 @@ Page({
return;
}
wx.clearStorageSync()
wx.switchTab({
url: '/pages/home/index',
wx.redirectTo({
url: '/pages/login/index',
})
});
},