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