|
|
@ -61,7 +61,7 @@ class BanksTabIndex extends Component{
|
|
|
|
></BanksMenu>
|
|
|
|
></BanksMenu>
|
|
|
|
}
|
|
|
|
}
|
|
|
|
<Switch {...this.props}>
|
|
|
|
<Switch {...this.props}>
|
|
|
|
<Route path={`/banks/exercise/:Id/${this.props.match.params.type}`}
|
|
|
|
<Route path={`/banks/exercise/:Id/:type`}
|
|
|
|
render={
|
|
|
|
render={
|
|
|
|
(props) => {
|
|
|
|
(props) => {
|
|
|
|
return (<ExerciseBanksDetail {...this.props} {...props} {...this.state} {...common}
|
|
|
|
return (<ExerciseBanksDetail {...this.props} {...props} {...this.state} {...common}
|
|
|
@ -69,13 +69,13 @@ class BanksTabIndex extends Component{
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}></Route>
|
|
|
|
}></Route>
|
|
|
|
|
|
|
|
|
|
|
|
<Route path={`/banks/gtopic/:bankId/${this.props.match.params.type}`}
|
|
|
|
<Route path={`/banks/gtopic/:bankId/:type`}
|
|
|
|
render={
|
|
|
|
render={
|
|
|
|
(props) => {
|
|
|
|
(props) => {
|
|
|
|
return (<GtopicBanks {...this.props} {...props} {...this.state} {...common} />)
|
|
|
|
return (<GtopicBanks {...this.props} {...props} {...this.state} {...common} />)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}></Route>
|
|
|
|
}></Route>
|
|
|
|
<Route path={`/banks/poll/:bankId/${this.props.match.params.type}`}
|
|
|
|
<Route path={`/banks/poll/:bankId/:type`}
|
|
|
|
render={
|
|
|
|
render={
|
|
|
|
(props) => {
|
|
|
|
(props) => {
|
|
|
|
return (<PollBanks {...this.props} {...props} {...this.state} {...common} />)
|
|
|
|
return (<PollBanks {...this.props} {...props} {...this.state} {...common} />)
|
|
|
|