From adc1da246cd61bc9ee325fcddce9187d99c1ef42 Mon Sep 17 00:00:00 2001 From: xpz2018 <107107461@qq.com> Date: Wed, 1 Sep 2021 14:33:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=81=E4=B8=9A=E8=AE=A4=E8=AF=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/home/certificate/index.js | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/pages/home/certificate/index.js b/pages/home/certificate/index.js index b463c0a..f2932e5 100644 --- a/pages/home/certificate/index.js +++ b/pages/home/certificate/index.js @@ -72,18 +72,8 @@ Page({ identifyEnterprise(params).then(result => { // 修改个人信息 app.globalData.userInfo.isEnterpriseAuth = 1 - var data = { numberOfFactoryPackageMachine: this.data.form.numberOfFactoryPackageMachine } - data.numberOfFactoryEmployee = this.data.form.numberOfEmployee - data.shipmentPerMonth = this.data.form.shipmentPerMonth - data.packageFactoryArea = this.data.form.packageFactoryArea - data.experienceTag = this.data.form.experienceTag - updateUserInfo(data).then(result => { - wx.hideLoading() - util.showBackToast('企业验证成功') - }).catch(error => { - wx.hideLoading() - util.showToast(error) - }) + wx.hideLoading() + util.showBackToast('企业验证成功') }).catch(error => { wx.hideLoading() util.showToast(error)