Browse Source

no message

featrue/v4.5
xpz2018 4 years ago
parent
commit
e1cb36a43f
2 changed files with 5 additions and 0 deletions
  1. 1
      pages/home/certificate/index.js
  2. 4
      pages/home/tab1/index.js

1
pages/home/certificate/index.js

@ -78,6 +78,7 @@ Page({
data.experienceTag = this.data.form.experienceTag
updateUserInfo(data).then(result => {
wx.hideLoading()
app.globalData.userInfo.isEnterpriseAuth = 1
if(!app.globalData.userInfo.isAuth){
util.showToast('企业验证成功')
wx.redirectTo({ url: '/pages/home/idcard/index' })

4
pages/home/tab1/index.js

@ -43,6 +43,10 @@ Page({
}
},
submitForm: function () {
if(util.isEmpty(this.data.identityTag)){
util.showToast('请输入你的身份')
return
}
this.setData({ requesting: true})
updateUserInfo({ identityTag: this.data.identityTag }).then(result => {
this.setData({ requesting: false})

Loading…
Cancel
Save