杨树明 5 years ago
parent d952ee8d4d
commit 50b88c293f

@ -86,6 +86,9 @@ class InfosTopics extends Component{
if(user_id===undefined){ if(user_id===undefined){
user_id=this.props.match.params&&this.props.match.params.username; user_id=this.props.match.params&&this.props.match.params.username;
} }
if(user_id!=undefined){
let {per_page}=this.state; let {per_page}=this.state;
let url=`/users/${user_id}/question_banks.json`; let url=`/users/${user_id}/question_banks.json`;
@ -109,6 +112,8 @@ class InfosTopics extends Component{
isSpin:false isSpin:false
}) })
}); });
}
} }

Loading…
Cancel
Save