fix(接口测试): 修复接口测试用例变更对比忽略状态不正确&对比抽屉表格换行和重叠

This commit is contained in:
xinxin.wu 2024-08-20 16:24:53 +08:00 committed by Craftsman
parent ec43b88870
commit 9157039201
2 changed files with 3 additions and 16 deletions

View File

@ -72,7 +72,7 @@
:columns="getBodyColumns(item.value)"
:data="getBodyTableData(item.value)"
:selectable="false"
:show-setting="true"
:show-setting="false"
:table-key="TableKeyEnum.API_TEST_DEBUG_FORM_DATA"
:diff-mode="props.mode"
:scroll="{ x: '100%' }"
@ -184,6 +184,7 @@
title: 'apiTestManagement.paramVal',
dataIndex: 'value',
inputType: 'text',
width: 200,
},
{
title: 'apiTestDebug.paramLengthRange',
@ -216,13 +217,6 @@
showTooltip: true,
width: 200,
},
{
title: '',
dataIndex: 'operation',
slotName: 'operation',
fixed: 'right',
width: 100,
},
];
/**
@ -296,13 +290,6 @@
showTooltip: true,
width: 200,
},
{
title: '',
dataIndex: 'operation',
slotName: 'operation',
fixed: 'right',
width: 100,
},
];
}
return [

View File

@ -481,8 +481,8 @@
async function changeIgnore(newValue: string | number | boolean) {
try {
await ignoreEveryTimeChange(props.activeApiCaseId, newValue as boolean);
await getRequestDetail(props.activeDefinedId, props.activeApiCaseId);
Message.success(newValue ? t('case.eachHasBeenIgnored') : t('case.eachHasBeenIgnoredClosed'));
getRequestDetail(props.activeDefinedId, props.activeApiCaseId);
emit('clearThisChange', false);
return false;
} catch (error) {