描述:登录

This commit is contained in:
SelfRidicule 2024-04-18 09:33:46 +08:00
parent cc5bc281d0
commit f8a9f51f4e

View File

@ -55,8 +55,12 @@ Page({
"openid": _this.data.openid
}).then(res => {
console.log('registerPhone', res);
// 跳转首页
_this.jumpIndex(res.openid, res.user, res.token.token)
if (res.code == 0) {
// 跳转首页
_this.jumpIndex(res.openid, res.user, res.token.token)
} else {
app.selfShowMsg(res.msg)
}
})
},
// 跳转首页