调整权限

dev_hss
杨树明 6 years ago
parent 478e23d739
commit 2d8b5196b4

@ -70,6 +70,14 @@ class InfosTopics extends Component{
// }else{ // }else{
// //
// } // }
let types=this.props.match.params.topicstype;
let professional_certification=this.props.current_user&&this.props.current_user.professional_certification;
if(professional_certification===false&&types==="publicly"){
}else{
this.setState({ this.setState({
isSpin:true isSpin:true
}) })
@ -114,6 +122,8 @@ class InfosTopics extends Component{
} }
}
searchCategory=(type)=>{ searchCategory=(type)=>{
this.setState({ this.setState({
category:type, category:type,

Loading…
Cancel
Save