Commit f3f02087 by zhangquan

bug修复

1 parent 20ea01e7
......@@ -104,8 +104,8 @@ Page({
mobile: formData.phone,
code: formData.code
}
wx.showLoading()
if(this.data.showLoading || this.data.disabled) return;
wx.showLoading()
USERAPI.phoneSmsLogin(obj).then(({
code,
data,
......@@ -124,7 +124,7 @@ Page({
}
}).catch(err => {
wx.hideLoading()
wx.$api.showToast('系统异常')
wx.$api.showToast(err || '系统异常')
})
},
/**手机号&微信登录:是否跳转登录列表页 */
......@@ -251,7 +251,7 @@ Page({
errMsg
}) => {
wx.hideLoading()
wx.$api.showToast('系统异常')
wx.$api.showToast(errMsg || '系统异常')
})
},
goServicePage(){
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!