Commit 554db2fd by xuzhenghua

idea

parent 6f77278a
...@@ -16,11 +16,10 @@ const router = () => ( ...@@ -16,11 +16,10 @@ const router = () => (
<Switch> <Switch>
<Route exact path="/" component={Index}></Route> <Route exact path="/" component={Index}></Route>
<Route path="/index" component={Index}></Route> <Route path="/index" component={Index}></Route>
<Route path='/classify' component={Classify}> <Route path='/classify' component={Classify}></Route>
<Route path='/classify/courselist' component={CourseList}></Route>
</Route>
<Route path='/study' component={Study}></Route> <Route path='/study' component={Study}></Route>
<Route path='/my' component={My}></Route> <Route path='/my' component={My}></Route>
<Route path='/courselist' component={CourseList}></Route>
<Route path='/search' component={Search}></Route> <Route path='/search' component={Search}></Route>
</Switch> </Switch>
<Menu /> <Menu />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment