[update] 外来标准翻译
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user