调整首页

This commit is contained in:
2024-03-26 17:38:31 +08:00
parent 756f567dba
commit 3b5525a2a2
18 changed files with 247 additions and 34 deletions

View File

@@ -68,10 +68,10 @@ Page({
loadingFunc(async () => {
const wxLoginCode = await wxLogin()
const { code, message, data } = await userValidate({ park, tenement, phone, name, code: wxLoginCode })
// if (code !== OK) {
// alertInfo(message)
// return
// }
if (code !== OK) {
alertInfo(message)
return
}
const { exist, user } = data;
if (!exist) {
alertInfo("绑定失败,请检查信息")