|
|
|
@ -12,6 +12,8 @@ class PollBanksContent extends Component{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
componentDidMount = () =>{
|
|
|
|
|
console.log("PollBanksContent");
|
|
|
|
|
console.log(this.props)
|
|
|
|
|
let bankId=this.props.match.params.bankId;
|
|
|
|
|
let url = `/exercise_banks/${bankId}.json`
|
|
|
|
|
axios.get(url).then((result)=>{
|
|
|
|
@ -56,7 +58,6 @@ class PollBanksContent extends Component{
|
|
|
|
|
|
|
|
|
|
render(){
|
|
|
|
|
let { pollDetail } = this.state
|
|
|
|
|
|
|
|
|
|
return(
|
|
|
|
|
<div>
|
|
|
|
|
<PollDetailTabThirdInfo {...this.props} {...this.state} pollDetail = {pollDetail}></PollDetailTabThirdInfo>
|
|
|
|
|