fix(用例管理): 注释不生效的表头排序

This commit is contained in:
WangXu10 2024-04-23 18:34:43 +08:00 committed by 刘瑞斌
parent 0d7f0c3db4
commit fb916925eb
1 changed files with 12 additions and 12 deletions

View File

@ -362,20 +362,20 @@
slotName: 'num', slotName: 'num',
sortIndex: 1, sortIndex: 1,
showTooltip: true, showTooltip: true,
sortable: { // sortable: {
sortDirections: ['ascend', 'descend'], // sortDirections: ['ascend', 'descend'],
sorter: true, // sorter: true,
}, // },
width: 150, width: 150,
fixed: 'left', fixed: 'left',
}, },
{ {
title: 'ms.case.associate.caseName', title: 'ms.case.associate.caseName',
dataIndex: 'name', dataIndex: 'name',
sortable: { // sortable: {
sortDirections: ['ascend', 'descend'], // sortDirections: ['ascend', 'descend'],
sorter: true, // sorter: true,
}, // },
showTooltip: true, showTooltip: true,
width: 250, width: 250,
}, },
@ -397,10 +397,10 @@
title: 'caseManagement.featureCase.tableColumnCreateTime', title: 'caseManagement.featureCase.tableColumnCreateTime',
slotName: 'createTime', slotName: 'createTime',
dataIndex: 'createTime', dataIndex: 'createTime',
sortable: { // sortable: {
sortDirections: ['ascend', 'descend'], // sortDirections: ['ascend', 'descend'],
sorter: true, // sorter: true,
}, // },
width: 200, width: 200,
showDrag: true, showDrag: true,
}, },