diff --git a/pages/home/certificate/index.js b/pages/home/certificate/index.js index a95a96f..4989fa4 100644 --- a/pages/home/certificate/index.js +++ b/pages/home/certificate/index.js @@ -79,12 +79,7 @@ Page({ 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' }) - } else { - util.showBackToast('企业验证成功') - } + util.showBackToast('企业验证成功') }).catch(error => { wx.hideLoading() util.showToast(error)