Commit e937f696 by zhangxw

登录修改

1 parent 4cc9817d
...@@ -152,9 +152,10 @@ Page({ ...@@ -152,9 +152,10 @@ Page({
captcha, captcha,
sessionId: this.sessionId sessionId: this.sessionId
}) })
data.headImgUrl = data.logo if (code == '0') {
if (code == '0') this.customerLoginCallBack(data) data.headImgUrl = data?.logo
else throw message this.customerLoginCallBack(data)
} else {throw message}
wx.hideLoading() wx.hideLoading()
} catch (error) { } catch (error) {
this.showTips(error || '服务不可用') this.showTips(error || '服务不可用')
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!