fix(接口测试): 场景创建人/更新人 hover 提示修复

This commit is contained in:
baiqi 2024-11-27 15:30:36 +08:00 committed by 刘瑞斌
parent dd0c8e2295
commit c3ad9f70cd
1 changed files with 2 additions and 16 deletions

View File

@ -118,16 +118,6 @@
</a-tooltip> </a-tooltip>
</div> </div>
</template> </template>
<template #createUserName="{ record }">
<a-tooltip :content="`${record.createName}`" position="tl">
<div class="one-line-text">{{ characterLimit(record.createUserName) }}</div>
</a-tooltip>
</template>
<template #updateUserName="{ record }">
<a-tooltip :content="`${record.createName}`" position="tl">
<div class="one-line-text">{{ characterLimit(record.updateUserName) }}</div>
</a-tooltip>
</template>
<!-- 报告结果筛选 --> <!-- 报告结果筛选 -->
<template #[FilterSlotNameEnum.API_TEST_CASE_API_REPORT_STATUS]="{ filterContent }"> <template #[FilterSlotNameEnum.API_TEST_CASE_API_REPORT_STATUS]="{ filterContent }">
<ExecutionStatus :module-type="ReportEnum.API_REPORT" :status="filterContent.value" /> <ExecutionStatus :module-type="ReportEnum.API_REPORT" :status="filterContent.value" />
@ -786,9 +776,7 @@
}, },
{ {
title: 'apiScenario.table.columns.createUser', title: 'apiScenario.table.columns.createUser',
dataIndex: 'createUser', dataIndex: 'createUserName',
slotName: 'createUserName',
showInTable: false,
showTooltip: true, showTooltip: true,
showDrag: true, showDrag: true,
width: 109, width: 109,
@ -803,9 +791,7 @@
}, },
{ {
title: 'apiScenario.table.columns.updateUser', title: 'apiScenario.table.columns.updateUser',
dataIndex: 'updateUser', dataIndex: 'updateUserName',
slotName: 'updateUserName',
showInTable: false,
showTooltip: true, showTooltip: true,
showDrag: true, showDrag: true,
width: 109, width: 109,