fix(credit): 修复被执行人的appellee字段显示问题
- 在customRender函数中为appellee字段添加默认值'-' - 解决当name1和appellee都为空时显示undefined的问题 - 确保被执行人的appellee字段始终有正确的显示值
This commit is contained in:
@@ -1859,11 +1859,12 @@
|
||||
return text;
|
||||
};
|
||||
}
|
||||
|
||||
// 被执行人:优先展示 name1,没有再展示 appellee
|
||||
if (tabKey === '被执行人' && dataIndex === 'appellee') {
|
||||
column.customRender = ({ record }) => {
|
||||
const v = pickValue(record?.name1) ? record.name1 : record?.appellee;
|
||||
return formatValue(v);
|
||||
return formatValue(v || '-');
|
||||
};
|
||||
}
|
||||
return column;
|
||||
|
||||
Reference in New Issue
Block a user