mirror of
https://github.com/zuiidea/antd-admin
synced 2026-11-01 23:43:55 +00:00
error page
This commit is contained in:
+2
-2
@@ -1,7 +1,7 @@
|
||||
import React from 'react'
|
||||
import { Router, Route , IndexRedirect , hashHistory} from 'dva/router'
|
||||
import App from './components/layout/main'
|
||||
import NotFound from './routes/NotFound'
|
||||
import Error from './routes/error'
|
||||
import Dashboard from './routes/dashboard'
|
||||
import Users from './routes/users'
|
||||
|
||||
@@ -12,7 +12,7 @@ export default function ({ history }) {
|
||||
<IndexRedirect to="/dashboard" />
|
||||
<Route path="dashboard" component={Dashboard}/>
|
||||
<Route path="/users" component={ Users } />
|
||||
<Route path="*" component={ NotFound } />
|
||||
<Route path="*" component={ Error } />
|
||||
</Route>
|
||||
</Router>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user