From 37f3fae030fee47417d3fbf4b6da2340628e12ce Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=9E=97?= <904079904@qq.com>
Date: Sat, 2 Nov 2019 10:32:20 +0800
Subject: [PATCH] =?UTF-8?q?=E5=90=88=E5=B9=B6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../CompetitionContentspdfpeopledata.js | 2 ++
.../user/modal/RealNameCertificationModal.js | 24 +++++++++++++++++--
2 files changed, 24 insertions(+), 2 deletions(-)
diff --git a/public/react/src/modules/competitions/Competitioncommon/CompetitionCommonChild/CompetitionContentspdfChild/CompetitionContentspdfpeopledata.js b/public/react/src/modules/competitions/Competitioncommon/CompetitionCommonChild/CompetitionContentspdfChild/CompetitionContentspdfpeopledata.js
index dc4c3f971..c24a95725 100644
--- a/public/react/src/modules/competitions/Competitioncommon/CompetitionCommonChild/CompetitionContentspdfChild/CompetitionContentspdfpeopledata.js
+++ b/public/react/src/modules/competitions/Competitioncommon/CompetitionCommonChild/CompetitionContentspdfChild/CompetitionContentspdfpeopledata.js
@@ -318,11 +318,13 @@ class CompetitionContentspdfpeopledata extends Component {
{this.state.certification === 1 ?
*实名信息 diff --git a/public/react/src/modules/user/modal/RealNameCertificationModal.js b/public/react/src/modules/user/modal/RealNameCertificationModal.js index 7ec18a2c6..461b2a4e7 100644 --- a/public/react/src/modules/user/modal/RealNameCertificationModal.js +++ b/public/react/src/modules/user/modal/RealNameCertificationModal.js @@ -276,8 +276,18 @@ class RealNameCertificationModal extends Component{ }).then((result)=>{ if(result){ this.props.showNotification("申请已提交,请等待审核!"); - this.props.getBasicInfo(); + try { + this.props.getBasicInfo(); + } catch (e) { + } + try { + this.props.Getdata(); + } catch (e) { + + } this.setVisible(false); + + } }).catch((error)=>{ console.log(error); @@ -294,8 +304,18 @@ class RealNameCertificationModal extends Component{ }).then((result)=>{ if(result){ this.props.showNotification("申请已提交,请等待审核!"); - this.props.getBasicInfo(); + try { + this.props.getBasicInfo(); + } catch (e) { + + } + try { + this.props.Getdata(); + } catch (e) { + + } this.setVisible(false); + } }).catch((error)=>{ console.log(error);