diff --git a/src/router.js b/src/router.js index a31ba0ca48a7cf0e65a8ad9767b543df0722b49e..70c08fa72ceff37220de8d9b10b27490b2e313f6 100644 --- a/src/router.js +++ b/src/router.js @@ -1,5 +1,7 @@ import React from 'react'; import { Router, Route, Redirect } from 'dva/router'; +import { LocaleProvider } from 'antd'; +import zhCN from 'antd/lib/locale-provider/zh_CN'; import navData from './common/nav'; function getRoutes(data, level = 0) { @@ -38,9 +40,11 @@ function getRoutes(data, level = 0) { function RouterConfig({ history }) { return ( - - {getRoutes(navData)} - + + + {getRoutes(navData)} + + ); }