Commit 68a86984 authored by wangxuelai's avatar wangxuelai

'最新代码提交'

parent fcc5e7a2
import React from 'react';
import { LocaleProvider } from 'antd';
import { ConfigProvider } from 'antd';
import zhCN from 'antd/lib/locale-provider/zh_CN';
import 'moment/locale/zh-cn';
import {
......@@ -187,7 +187,7 @@ const CalendarClock = props => (
);
function RouterConfig({ history }) {
return (
<LocaleProvider locale={zhCN}>
<ConfigProvider locale={zhCN}>
<Router history={history}>
<Switch>
<Route
......@@ -251,7 +251,7 @@ function RouterConfig({ history }) {
<Route path="/404" render={() => (<Errorpage />)} />
</Switch>
</Router>
</LocaleProvider>
</ConfigProvider>
);
}
export default RouterConfig;
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