修改退出登录

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 // return
// } // }
wx.redirectTo({ wx.switchTab({
url: '/pages/login/index', url: '/pages/home/index',
}) })
}, },
async getPrivacy() { async getPrivacy() {

View File

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