浏览代码

快捷登录报错提醒

xiaohaizhao 6 月之前
父节点
当前提交
634fae1366
共有 1 个文件被更改,包括 1 次插入1 次删除
  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);