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