提交对首页跳转登录页的问题
This commit is contained in:
@@ -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("已拒绝");
|
||||
|
Reference in New Issue
Block a user