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 ? this.realNameCertificationModal1 = form} certification={certification} + Getdata={() => this.getdata()} > : ""} {this.state.certification === 2 ? this.realNameCertificationModal2 = form} certification={certification} + Getdata={() => this.getdata()} > : ""}

*实名信息 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);