个人主页-使用申请

dev_forum
caishi 6 years ago
parent 9578650e47
commit 0780f2027b

@ -48,12 +48,6 @@ class Infos extends Component{
}
}
// 试用申请
trialapplications =()=>{
this.setState({
isRenders: true,
})
}
//获取个人主页信息
getInfo = (user_login) =>{
@ -157,6 +151,19 @@ class Infos extends Component{
}
}
// 试用申请
trialapplications =()=>{
this.setState({
isRenders: true,
showTrial:true
})
}
cancelModulationModels=()=>{
this.setState({
isRenders: false
})
}
render(){
let {
data ,
@ -174,7 +181,7 @@ class Infos extends Component{
return(
<div className="newMain">
{
isRenders && <Trialapplication {...this.state} />
isRenders && <Trialapplication {...this.state} Cancel={() => this.cancelModulationModels()}/>
}
<div className="user-main-half">
<div className="user-headImg"></div>

Loading…
Cancel
Save