[update] 外来标准翻译

This commit is contained in:
lideqin
2024-08-08 11:16:53 +08:00
parent 2a1f53c755
commit d7ea62aa1f
4 changed files with 17 additions and 3 deletions
+2 -2
View File
@@ -162,9 +162,9 @@ export const ConfigurableTableMixin = {
// 是否可排序
item.sorter = item.sortFlag === '1'
item.width = 215
item.title = this.$i18n.locale === ZH ? item.dbFieldTxt : item.dbFieldEnName
item.title = this.isChinese() ? item.dbFieldTxt : item.dbFieldEnName
if (NEED_DICT_FIELD_TYPE.includes(item.fieldShowType)) {
item.dataIndex = item.dbFieldName + '_dictText'
item.dataIndex = this.isChinese() ? item.dbFieldName + '_dictText' : item.dbFieldName + '_dictTextEn'
} else {
item.dataIndex = item.dbFieldName
}