From fb487be1fbbc63911fd7d250800eafea978cdf37 Mon Sep 17 00:00:00 2001 From: xpz2018 <107107461@qq.com> Date: Fri, 13 Aug 2021 16:26:40 +0800 Subject: [PATCH] no message --- pages/home/certificate/index.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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)