|
|
|
@ -213,6 +213,13 @@ export function TPMIndexHOC(WrappedComponent) {
|
|
|
|
|
return this.state.coursedata&&this.state.coursedata.course_identity === 6
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
setTrialapplication = ()=>{
|
|
|
|
|
this.setState({
|
|
|
|
|
isRenders:true
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
课堂权限相关方法,暂时写这里了 ----------------------------------------END
|
|
|
|
@ -285,7 +292,7 @@ export function TPMIndexHOC(WrappedComponent) {
|
|
|
|
|
user_phone_binded === undefined?
|
|
|
|
|
""
|
|
|
|
|
:
|
|
|
|
|
<Trialapplication {...this.state} user_phone_binded={user_phone_binded}></Trialapplication>
|
|
|
|
|
<Trialapplication {...this.state} user_phone_binded={user_phone_binded} setTrialapplication = {this.setTrialapplication} ></Trialapplication>
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|