提交对首页跳转登录页的问题

This commit is contained in:
2024-08-02 16:41:52 +08:00
parent 01e3d60b6c
commit 6f253ba5b9
7 changed files with 30 additions and 88 deletions

View File

@@ -32,10 +32,9 @@ Page({
// })
// return
// }
wx.switchTab({
url: '/pages/home/index',
wx.redirectTo({
url: '/pages/login/index',
})
},
async getPrivacy() {
const { code, message, data } = await getPrivaciList()
@@ -81,6 +80,7 @@ Page({
},
getPhoneNumber(e) {
const { errno, code: phoneCode } = e.detail;
console.log('e', e)
switch(errno) {
case 103:
alertInfo("已拒绝");