|
|
@ -37,7 +37,7 @@ class AccountBasic extends Component {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
componentDidUpdate =(prevProps)=>{
|
|
|
|
componentDidUpdate =(prevProps)=>{
|
|
|
|
if(this.props.basicInfo && prevProps.basicInfo == undefined){
|
|
|
|
if(this.props.basicInfo && (prevProps.basicInfo == undefined || prevProps.basicInfo.id != this.props.basicInfo.id)){
|
|
|
|
this.setValue(this.props.basicInfo);
|
|
|
|
this.setValue(this.props.basicInfo);
|
|
|
|
this.getSchoolList(this.props.basicInfo);
|
|
|
|
this.getSchoolList(this.props.basicInfo);
|
|
|
|
}
|
|
|
|
}
|
|
|
|