去除多余js

dev_aliyun_beta
caicai8 6 years ago
parent 72cd7ca2b3
commit d84fd8b0aa

@ -15,10 +15,6 @@ const GtopicBanks = Loadable({
loader: () => import('./GtopicBanks'),
loading: Loading,
})
const GtopicBanksAnswer = Loadable({
loader: () => import('./GtopicBanksAnswer'),
loading: Loading,
})
const BanksTabIndex = Loadable({
loader: () => import('./BanksTabIndex'),

@ -15,10 +15,6 @@ const GtopicBanks = Loadable({
loader: () => import('./GtopicBanks'),
loading: Loading,
})
const GtopicBanksAnswer = Loadable({
loader: () => import('./GtopicBanksAnswer'),
loading: Loading,
})
class BanksTabIndex extends Component{
constructor(props){
@ -56,12 +52,6 @@ class BanksTabIndex extends Component{
}
<Switch {...this.props}>
<Route path='/banks/gtopic/:bankId/answer'
render={
(props) => {
return (<GtopicBanksAnswer {...this.props} {...props} {...this.state} {...common} />)
}
}></Route>
<Route path='/banks/gtopic/:bankId'
render={

@ -18,7 +18,7 @@ class GtopicBanks extends Component{
tab:'0',//tab选中的index
menuArray:[//tab以及tab路由
{to:'/banks/gtopic/1',content:'内容详情'},
{to:'/banks/gtopic/1/answer',content:'参考答案'},
// {to:'/banks/gtopic/1/answer',content:'参考答案'},
],
category:'topic',//毕设选题
id:bankId

Loading…
Cancel
Save