feat: add vxe-table

This commit is contained in:
xingyu
2022-10-19 18:08:42 +08:00
parent 4e415486eb
commit aa3aa56140
2 changed files with 163 additions and 13 deletions

View File

@ -72,7 +72,7 @@ VXETable.setup({
clearable: true
},
i18n: (key, args) => {
return unref(i18n.global.locale) === 'zh'
return unref(i18n.global.locale) === 'zh-CN'
? XEUtils.toFormatString(XEUtils.get(zhCN, key), args)
: XEUtils.toFormatString(XEUtils.get(enUS, key), args)
}