杨树明 6 years ago
parent 00390cffbd
commit 4ab00b3a66

@ -118,14 +118,11 @@ class PackageIndexNEIBannerConcent extends Component {
}
componentDidUpdate = (prevProps) => {
console.log(this.props.current_user)
console.log("____________")
console.log(prevProps.current_user)
// if(this.props.current_user&&this.props.current_user.username!=prevProps.current_user.username){
// this.setState({
// contact_name:this.props.current_user&&this.props.current_user.username
// })
// }
if(prevProps.current_user.username!=this.props.current_user){
this.setState({
contact_name:this.props.current_user&&this.props.current_user.username
})
}
}
//获取验证码;
getverificationcode =()=>{

Loading…
Cancel
Save