mirror of
https://github.com/iczer/vue-antd-admin
synced 2025-04-06 04:00:06 +08:00
优化:引入 moment 组件库中文包;
optimize: import chinese language for moment library;
This commit is contained in:
parent
df076bda24
commit
a5c34a8514
@ -10,6 +10,7 @@ import 'animate.css/source/animate.css'
|
|||||||
import Plugins from '@/plugins'
|
import Plugins from '@/plugins'
|
||||||
import {initI18n} from '@/utils/i18n'
|
import {initI18n} from '@/utils/i18n'
|
||||||
import bootstrap from '@/bootstrap'
|
import bootstrap from '@/bootstrap'
|
||||||
|
import 'moment/locale/zh-cn'
|
||||||
|
|
||||||
const router = initRouter(store.state.setting.asyncRoutes)
|
const router = initRouter(store.state.setting.asyncRoutes)
|
||||||
const i18n = initI18n('CN', 'US')
|
const i18n = initI18n('CN', 'US')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user