fix(用例管理): 用例列表按照更新人排序报错

--bug=1035935 --user=王旭 【用例管理】用例列表按更新人排序报错 https://www.tapd.cn/55049933/s/1463603
This commit is contained in:
WangXu10 2024-02-21 19:25:15 +08:00 committed by 刘瑞斌
parent acabc30e22
commit be0110714a
1 changed files with 5 additions and 2 deletions

View File

@ -42,6 +42,9 @@
<template #name="{ record, rowIndex }">
<span type="text" class="px-0" @click="showCaseDetail(record.id, rowIndex)">{{ record.name }}</span>
</template>
<template #updateUser="{ record }">
<span type="text" class="px-0" >{{ record.updateUserName }}</span>
</template>
<template #caseLevel="{ record }">
<caseLevel :case-level="getCaseLevels(record.customFields)" />
</template>
@ -480,8 +483,8 @@
},
{
title: 'caseManagement.featureCase.tableColumnUpdateUser',
slotName: 'updateUserName',
dataIndex: 'updateUserName',
slotName: 'updateUser',
dataIndex: 'updateUser',
sortable: {
sortDirections: ['ascend', 'descend'],
sorter: true,