|
|
|
@ -76,10 +76,10 @@ const Otherloginstart=Loadable({
|
|
|
|
|
loading: Loading,
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
const TestIndex = Loadable({
|
|
|
|
|
loader: () => import('./modules/test'),
|
|
|
|
|
loading: Loading,
|
|
|
|
|
})
|
|
|
|
|
// const TestIndex = Loadable({
|
|
|
|
|
// loader: () => import('./modules/test'),
|
|
|
|
|
// loading: Loading,
|
|
|
|
|
// })
|
|
|
|
|
|
|
|
|
|
const IndexWrapperComponent = Loadable({
|
|
|
|
|
loader: () => import('./modules/page/IndexWrapper'),
|
|
|
|
@ -91,23 +91,23 @@ const CommentComponent = Loadable({
|
|
|
|
|
loading: Loading,
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
const TestMaterialDesignComponent = Loadable({
|
|
|
|
|
loader: () => import('./modules/test/md/TestMaterialDesign'),
|
|
|
|
|
loading: Loading,
|
|
|
|
|
})
|
|
|
|
|
const TestCodeMirrorComponent = Loadable({
|
|
|
|
|
loader: () => import('./modules/test/codemirror/TestCodeMirror'),
|
|
|
|
|
loading: Loading,
|
|
|
|
|
})
|
|
|
|
|
// const TestMaterialDesignComponent = Loadable({
|
|
|
|
|
// loader: () => import('./modules/test/md/TestMaterialDesign'),
|
|
|
|
|
// loading: Loading,
|
|
|
|
|
// })
|
|
|
|
|
// const TestCodeMirrorComponent = Loadable({
|
|
|
|
|
// loader: () => import('./modules/test/codemirror/TestCodeMirror'),
|
|
|
|
|
// loading: Loading,
|
|
|
|
|
// })
|
|
|
|
|
|
|
|
|
|
const TestComponent = Loadable({
|
|
|
|
|
loader: () => import('./modules/test/TestRC'),
|
|
|
|
|
loading: Loading,
|
|
|
|
|
})
|
|
|
|
|
const TestUrlQueryComponent = Loadable({
|
|
|
|
|
loader: () => import('./modules/test/urlquery/TestUrlQuery'),
|
|
|
|
|
loading: Loading,
|
|
|
|
|
})
|
|
|
|
|
// const TestComponent = Loadable({
|
|
|
|
|
// loader: () => import('./modules/test/TestRC'),
|
|
|
|
|
// loading: Loading,
|
|
|
|
|
// })
|
|
|
|
|
// const TestUrlQueryComponent = Loadable({
|
|
|
|
|
// loader: () => import('./modules/test/urlquery/TestUrlQuery'),
|
|
|
|
|
// loading: Loading,
|
|
|
|
|
// })
|
|
|
|
|
|
|
|
|
|
const TPMIndexComponent = Loadable({
|
|
|
|
|
loader: () => import('./modules/tpm/TPMIndex'),
|
|
|
|
@ -254,10 +254,10 @@ const Interestpage = Loadable({
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
//众包创新
|
|
|
|
|
const ProjectPackages=Loadable({
|
|
|
|
|
loader: () => import('./modules/projectPackages/ProjectPackageIndex'),
|
|
|
|
|
loading: Loading,
|
|
|
|
|
})
|
|
|
|
|
// const ProjectPackages=Loadable({
|
|
|
|
|
// loader: () => import('./modules/projectPackages/ProjectPackageIndex'),
|
|
|
|
|
// loading: Loading,
|
|
|
|
|
// })
|
|
|
|
|
|
|
|
|
|
//竞赛
|
|
|
|
|
const NewCompetitions=Loadable({
|
|
|
|
@ -477,8 +477,8 @@ class App extends Component {
|
|
|
|
|
return (<Topicbank {...this.props} {...props} {...this.state} />)
|
|
|
|
|
}
|
|
|
|
|
}></Route>
|
|
|
|
|
{/*众包创新*/}
|
|
|
|
|
<Route path={"/crowdsourcing"} component={ProjectPackages}/>
|
|
|
|
|
{/*/!*众包创新*!/*/}
|
|
|
|
|
{/*<Route path={"/crowdsourcing"} component={ProjectPackages}/>*/}
|
|
|
|
|
{/*竞赛*/}
|
|
|
|
|
<Route path={"/newcompetitions"} component={NewCompetitions}/>
|
|
|
|
|
{/*认证*/}
|
|
|
|
@ -583,11 +583,11 @@ class App extends Component {
|
|
|
|
|
>
|
|
|
|
|
</Route>
|
|
|
|
|
<Route path="/comment" component={CommentComponent}/>
|
|
|
|
|
<Route path="/testMaterial" component={TestMaterialDesignComponent}/>
|
|
|
|
|
<Route path="/test" component={TestIndex}/>
|
|
|
|
|
<Route path="/testCodeMirror" component={TestCodeMirrorComponent}/>
|
|
|
|
|
<Route path="/testRCComponent" component={TestComponent}/>
|
|
|
|
|
<Route path="/testUrlQuery" component={TestUrlQueryComponent}/>
|
|
|
|
|
{/*<Route path="/testMaterial" component={TestMaterialDesignComponent}/>*/}
|
|
|
|
|
{/*<Route path="/test" component={TestIndex}/>*/}
|
|
|
|
|
{/*<Route path="/testCodeMirror" component={TestCodeMirrorComponent}/>*/}
|
|
|
|
|
{/*<Route path="/testRCComponent" component={TestComponent}/>*/}
|
|
|
|
|
{/*<Route path="/testUrlQuery" component={TestUrlQueryComponent}/>*/}
|
|
|
|
|
<Route path="/messages"
|
|
|
|
|
render={
|
|
|
|
|
(props)=>(<Messagerouting {...this.props} {...props} {...this.state}></Messagerouting>)
|
|
|
|
|