杨树明 5 years ago
parent 336bc6edc3
commit 728784e20c

@ -120,6 +120,7 @@ class PackageIndexNEIBannerConcent extends Component {
componentDidUpdate = (prevProps) => {
if(prevProps.current_user.username!=this.props.current_user){
if(this.props.current_user!=undefined){
console.log(this.props.current_user)
this.setState({
contact_name:this.props.current_user.username
})

Loading…
Cancel
Save