新增国际化功能,language文件夹为语言选项,header选择语言类型
This commit is contained in:
wanghaoyu
2019-12-02 16:16:26 +08:00
parent c25ef65a36
commit 63367c0c71
8 changed files with 222 additions and 66 deletions

View File

@@ -0,0 +1,11 @@
import zhLocale from 'element-ui/lib/locale/lang/zh-CN' //引入element语言包
const cn = {
overall:{
dashboard:'仪表盘',
project:'工程',
asset:'资产'
},
...zhLocale
}
export default cn;