修改样式

dev_aliyun_beta
杨树林 5 years ago
parent 3eeae34014
commit c50d67b019

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

Loading…
Cancel
Save