dev_home
杨树林 6 years ago
parent 5849ba0a93
commit 36ec87bbfe

@ -55,7 +55,7 @@ class Bankcardnumberverification extends Component {
if (result.data.status == 0) { if (result.data.status == 0) {
// console.log(JSON.stringify(result)); // console.log(JSON.stringify(result));
this.props.showNotification(`提交成功,等待审核!`); this.props.showNotification(`提交成功,等待审核!`);
this.props.getdata(); this.props.getdata(this.props.userdata.id);
this.props.GetawardinformationAPI(); this.props.GetawardinformationAPI();
} }
} catch (e) { } catch (e) {

@ -531,7 +531,7 @@ class CompetitionContentspdfpeopledata extends Component {
<div> <div>
{ {
bank_account_editable === true ? bank_account_editable === true ?
<Bankcardnumberverifications {...this.props} {...this.state} basicInfo={this.state.basicInfo} <Bankcardnumberverifications {...this.props} {...this.state} basicInfo={userdata}
hideUpdating={(i) => this.hideUpdating(i)} hideUpdating={(i) => this.hideUpdating(i)}
getdata={() => this.getdata()} getdata={() => this.getdata()}
GetawardinformationAPI={() => this.GetawardinformationAPI()} GetawardinformationAPI={() => this.GetawardinformationAPI()}
@ -572,7 +572,7 @@ class CompetitionContentspdfpeopledata extends Component {
<div> <div>
{ {
admins===true? admins===true?
<Bankcardnumberverifications {...this.props} {...this.state} basicInfo={this.state.basicInfo} <Bankcardnumberverifications {...this.props} {...this.state} basicInfo={userdata}
hideUpdating={(i) => this.hideUpdating(i)} hideUpdating={(i) => this.hideUpdating(i)}
getdata={() => this.getdata()} getdata={() => this.getdata()}
GetawardinformationAPI={() => this.GetawardinformationAPI()} GetawardinformationAPI={() => this.GetawardinformationAPI()}

@ -48,7 +48,7 @@ class Mailboxvalidation extends Component {
if (result) { if (result) {
this.props.showNotification("邮箱地址绑定成功!"); this.props.showNotification("邮箱地址绑定成功!");
this.hideUpdating(2); this.hideUpdating(2);
this.props.getdata(); this.props.getdata(id);
} }
}).catch((error) => { }).catch((error) => {
console.log(error); console.log(error);

@ -48,7 +48,7 @@ class Phonenumberverification extends Component {
if (result) { if (result) {
this.props.showNotification("手机号码绑定成功!"); this.props.showNotification("手机号码绑定成功!");
this.props.hideUpdating() this.props.hideUpdating()
this.props.getdata(); this.props.getdata(id);
} }
}).catch((error) => { }).catch((error) => {
console.log(error); console.log(error);

Loading…
Cancel
Save