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