dev_forum
杨树林 6 years ago
parent 5f44ab72af
commit fb6c09f7df

@ -52,9 +52,17 @@ class CoursesBanner extends Component {
componentDidMount() { componentDidMount() {
this.onloadupdatabanner() this.onloadupdatabanner()
try {
if(this.props.current_user!==undefined){
this.setState({ this.setState({
user_phone_binded :this.props.current_user.user_phone_binded, user_phone_binded :this.props.current_user.user_phone_binded,
}) })
}
}catch (e) {
console.log("CoursesBanner 60")
console.log(e)
}
} }
onloadupdatabanner=()=>{ onloadupdatabanner=()=>{
this.updatabanner() this.updatabanner()

Loading…
Cancel
Save