diff --git a/public/react/src/modules/user/usersInfo/Infos.js b/public/react/src/modules/user/usersInfo/Infos.js index e5f1e99dd..0ce102eb5 100644 --- a/public/react/src/modules/user/usersInfo/Infos.js +++ b/public/react/src/modules/user/usersInfo/Infos.js @@ -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(
{ - isRenders && + isRenders && this.cancelModulationModels()}/> }