This commit is contained in:
zwjamnsss 2017-07-10 20:28:03 +08:00
parent a37ffc87ea
commit bae4c05080

View File

@ -2,10 +2,11 @@ import React from 'react'
import { Route, HashRouter, Redirect } from 'react-router-dom'
import { Home, Login, ProjectGroups } from './containers/index'
export default store => {
export default () => {
return (
<HashRouter>
<div className="router-main">
<Redirect from="/" to="/ProjectGroups" />
<Route path="/" component={ Home } />
<Route path="/Login" component={ Login } />
<Route path="/ProjectGroups" component={ ProjectGroups } />