优化:引入 moment 组件库中文包;

optimize: import chinese language for moment library;
This commit is contained in:
chenghongxing 2021-01-12 11:41:36 +08:00
parent df076bda24
commit a5c34a8514

View File

@ -10,6 +10,7 @@ import 'animate.css/source/animate.css'
import Plugins from '@/plugins'
import {initI18n} from '@/utils/i18n'
import bootstrap from '@/bootstrap'
import 'moment/locale/zh-cn'
const router = initRouter(store.state.setting.asyncRoutes)
const i18n = initI18n('CN', 'US')