This commit is contained in:
clay
2022-01-22 20:45:07 +08:00
parent 72fbaed559
commit 6b2d1034c2
20 changed files with 181 additions and 149 deletions

View File

@@ -6,7 +6,11 @@ import i18n from './i18n/i18n'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import 'element-ui/lib/theme-chalk/display.css';
import en from 'element-ui/lib/locale/lang/en'
import cn from 'element-ui/lib/locale/lang/zh-CN'
i18n.mergeLocaleMessage('en', en)
i18n.mergeLocaleMessage('zh', cn)
Vue.config.productionTip = false
Vue.use(ElementUI)
@@ -32,6 +36,9 @@ const store = new Vuex.Store({
}
}
})
new Vue({
i18n,
router,