新增国际化功能,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 enLocale from 'element-ui/lib/locale/lang/en' //引入element语言包
const en = {
overall:{
dashboard:'dashboard',
project:'project',
asset:'asset'
},
...enLocale
}
export default en;