Skip to content

Commit 2823313

Browse files
committed
fix(view): default setting
1 parent f849ec8 commit 2823313

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

admin/src/main.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import 'normalize.css/normalize.css' // A modern alternative to CSS resets
44

55
import ElementUI from 'element-ui'
66
import 'element-ui/lib/theme-chalk/index.css'
7-
import locale from 'element-ui/lib/locale/lang/en' // lang i18n
7+
// import locale from 'element-ui/lib/locale/lang/en' // lang i18n
88

99
import '@/styles/index.scss' // global css
1010
// 引入 layUI css
@@ -18,7 +18,8 @@ import '@/icons' // icon
1818
import '@/permission' // permission control
1919

2020
// set ElementUI lang to EN
21-
Vue.use(ElementUI, { locale })
21+
// Vue.use(ElementUI, { locale })
22+
Vue.use(ElementUI)
2223

2324
Vue.config.productionTip = false
2425

0 commit comments

Comments
 (0)