dev_forum
杨树林 6 years ago
parent 10dc135c6d
commit e3b07c7f01

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

Loading…
Cancel
Save