dev_forum
杨树林 5 years ago
parent 6f4566e03b
commit 10dc135c6d

@ -344,16 +344,16 @@ class CoursesBanner extends Component {
render() { render() {
let { Addcoursestypes, coursedata, modalsType, modalsTopval, loadtype,modalsBottomval,antIcon,user_phone_binded} = this.state; let { Addcoursestypes, coursedata, modalsType, modalsTopval, loadtype,modalsBottomval,antIcon,user_phone_binded} = this.state;
try { // try {
if(this.props.current_user!==undefined){ // 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) { // }catch (e) {
console.log("CoursesBanner 354") // console.log("CoursesBanner 354")
console.log(e) // console.log(e)
} // }
return ( return (
<div> <div>
<Trialapplication {...this.state} user_phone_binded={user_phone_binded} ></Trialapplication> <Trialapplication {...this.state} user_phone_binded={user_phone_binded} ></Trialapplication>

Loading…
Cancel
Save