Browse Source

快捷登录报错提醒

xiaohaizhao 6 months ago
parent
commit
634fae1366
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pages/login/phone.js

+ 1 - 1
pages/login/phone.js

@@ -43,7 +43,7 @@ Page({
                     }).then(res => {
                         console.log("微信快捷登录", res)
                         if (res.code == 0) return wx.showToast({
-                            title: res.msg,
+                            title: res.msg == '' ? '未查询到绑定账号' : res.msg,
                             icon: "none"
                         })
                         loginMsg.loginMsg(res);