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

@ -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