i18n 从基础配置好用
This commit is contained in:
14
src/lang/zh-CN.js
Normal file
14
src/lang/zh-CN.js
Normal file
@@ -0,0 +1,14 @@
|
||||
import zhLocale from 'element-ui/lib/locale/lang/zh-CN'
|
||||
|
||||
export default {
|
||||
...zhLocale,
|
||||
common: {
|
||||
confirm: '确定',
|
||||
cancel: '取消',
|
||||
home: '主页',
|
||||
logout: '退出',
|
||||
language: '语言',
|
||||
chinese: '中文',
|
||||
english: 'English'
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user