feat(jd-orders): 更新Cookie列显示逻辑
- 将列标题从'Cookie ID'更改为'Cookie名称' - 修改dataIndex从'cookieId'为'cookie' - 添加render函数显示accountName或默认值'-' - 保持列宽120px和省略文本提示功能
This commit is contained in:
@@ -312,11 +312,14 @@ const columns: TableColumnData[] = [
|
||||
tooltip: true
|
||||
},
|
||||
{
|
||||
title: 'Cookie ID',
|
||||
dataIndex: 'cookieId',
|
||||
title: 'Cookie名称',
|
||||
dataIndex: 'cookie',
|
||||
width: 120,
|
||||
ellipsis: true,
|
||||
tooltip: true
|
||||
tooltip: true,
|
||||
render: ({ record }) => {
|
||||
return record.cookie?.accountName || '-';
|
||||
}
|
||||
},
|
||||
{
|
||||
title: '商品品类',
|
||||
|
||||
Reference in New Issue
Block a user