|
|
@ -66,13 +66,7 @@ class PackageIndexNEIBannerConcent extends Component {
|
|
|
|
categories:[]
|
|
|
|
categories:[]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// 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
|
|
|
|
|
|
|
|
// })
|
|
|
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
componentDidMount() {
|
|
|
|
componentDidMount() {
|
|
|
|
window.document.title = '众包创新'
|
|
|
|
window.document.title = '众包创新'
|
|
|
@ -99,6 +93,7 @@ class PackageIndexNEIBannerConcent extends Component {
|
|
|
|
|
|
|
|
|
|
|
|
})
|
|
|
|
})
|
|
|
|
}else{
|
|
|
|
}else{
|
|
|
|
|
|
|
|
console.log(this.props.current_user&&this.props.current_user.username)
|
|
|
|
this.setState({
|
|
|
|
this.setState({
|
|
|
|
contact_name:this.props.current_user&&this.props.current_user.username
|
|
|
|
contact_name:this.props.current_user&&this.props.current_user.username
|
|
|
|
})
|
|
|
|
})
|
|
|
@ -121,6 +116,14 @@ class PackageIndexNEIBannerConcent extends Component {
|
|
|
|
|
|
|
|
|
|
|
|
// this.contentMdRef.current.setValue("测试赋值")
|
|
|
|
// 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
|
|
|
|
|
|
|
|
// })
|
|
|
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
// }
|
|
|
|
//获取验证码;
|
|
|
|
//获取验证码;
|
|
|
|
getverificationcode =()=>{
|
|
|
|
getverificationcode =()=>{
|
|
|
|
// if (this.state.logins&&this.state.logins.length === 0) {
|
|
|
|
// if (this.state.logins&&this.state.logins.length === 0) {
|
|
|
|