杨树明 5 years ago
parent 4ab00b3a66
commit 336bc6edc3

@ -119,9 +119,12 @@ class PackageIndexNEIBannerConcent extends Component {
componentDidUpdate = (prevProps) => { componentDidUpdate = (prevProps) => {
if(prevProps.current_user.username!=this.props.current_user){ if(prevProps.current_user.username!=this.props.current_user){
this.setState({ if(this.props.current_user!=undefined){
contact_name:this.props.current_user&&this.props.current_user.username this.setState({
}) contact_name:this.props.current_user.username
})
}
} }
} }
//获取验证码; //获取验证码;

Loading…
Cancel
Save