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

optimize: import chinese language for moment library;
master
chenghongxing 4 years ago
parent df076bda24
commit a5c34a8514
  1. 1
      src/main.js

@ -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')

Loading…
Cancel
Save