杨树明 5 years ago
parent a70fc2c8c9
commit 6e96556e1a

@ -117,13 +117,13 @@ class PackageIndexNEIBannerConcent extends Component {
// this.contentMdRef.current.setValue("测试赋值")
}
// componentDidUpdate = (prevProps) => {
// if(this.props.current_user&&this.props.current_user.username!=prevProps.current_user&&prevProps.current_user.username){
// this.setState({
// contact_name:this.props.current_user&&this.props.current_user.username
// })
// }
// }
componentDidUpdate = (prevProps) => {
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 =()=>{
// if (this.state.logins&&this.state.logins.length === 0) {

Loading…
Cancel
Save