Commit a3815156 by 前端

Merge branch 'zq_dev_3.0' into 'v3.0'

bug修复

See merge request !98
2 parents e1dec8d0 f3f02087
......@@ -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!