We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc26c31 commit a2784ddCopy full SHA for a2784dd
src/main.js
@@ -6,6 +6,7 @@ import 'normalize.css/normalize.css' // a modern alternative to CSS resets
6
7
import Element from 'element-ui'
8
import './styles/element-variables.scss'
9
+import enLang from 'element-ui/lib/locale/lang/en'// 如果使用中文语言包请默认支持,无需额外引入,请删除该依赖
10
11
import '@/styles/index.scss' // global css
12
@@ -33,7 +34,8 @@ if (process.env.NODE_ENV === 'production') {
33
34
}
35
36
Vue.use(Element, {
- size: Cookies.get('size') || 'medium' // set element-ui default size
37
+ size: Cookies.get('size') || 'medium', // set element-ui default size
38
+ locale: enLang // 如果使用中文,无需设置,请删除
39
})
40
41
// register global utility filters
0 commit comments