fix(接口测试): 修复接口测试用例变更对比忽略状态不正确&对比抽屉表格换行和重叠
This commit is contained in:
parent
ec43b88870
commit
9157039201
|
@ -72,7 +72,7 @@
|
||||||
:columns="getBodyColumns(item.value)"
|
:columns="getBodyColumns(item.value)"
|
||||||
:data="getBodyTableData(item.value)"
|
:data="getBodyTableData(item.value)"
|
||||||
:selectable="false"
|
:selectable="false"
|
||||||
:show-setting="true"
|
:show-setting="false"
|
||||||
:table-key="TableKeyEnum.API_TEST_DEBUG_FORM_DATA"
|
:table-key="TableKeyEnum.API_TEST_DEBUG_FORM_DATA"
|
||||||
:diff-mode="props.mode"
|
:diff-mode="props.mode"
|
||||||
:scroll="{ x: '100%' }"
|
:scroll="{ x: '100%' }"
|
||||||
|
@ -184,6 +184,7 @@
|
||||||
title: 'apiTestManagement.paramVal',
|
title: 'apiTestManagement.paramVal',
|
||||||
dataIndex: 'value',
|
dataIndex: 'value',
|
||||||
inputType: 'text',
|
inputType: 'text',
|
||||||
|
width: 200,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: 'apiTestDebug.paramLengthRange',
|
title: 'apiTestDebug.paramLengthRange',
|
||||||
|
@ -216,13 +217,6 @@
|
||||||
showTooltip: true,
|
showTooltip: true,
|
||||||
width: 200,
|
width: 200,
|
||||||
},
|
},
|
||||||
{
|
|
||||||
title: '',
|
|
||||||
dataIndex: 'operation',
|
|
||||||
slotName: 'operation',
|
|
||||||
fixed: 'right',
|
|
||||||
width: 100,
|
|
||||||
},
|
|
||||||
];
|
];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -296,13 +290,6 @@
|
||||||
showTooltip: true,
|
showTooltip: true,
|
||||||
width: 200,
|
width: 200,
|
||||||
},
|
},
|
||||||
{
|
|
||||||
title: '',
|
|
||||||
dataIndex: 'operation',
|
|
||||||
slotName: 'operation',
|
|
||||||
fixed: 'right',
|
|
||||||
width: 100,
|
|
||||||
},
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
return [
|
return [
|
||||||
|
|
|
@ -481,8 +481,8 @@
|
||||||
async function changeIgnore(newValue: string | number | boolean) {
|
async function changeIgnore(newValue: string | number | boolean) {
|
||||||
try {
|
try {
|
||||||
await ignoreEveryTimeChange(props.activeApiCaseId, newValue as boolean);
|
await ignoreEveryTimeChange(props.activeApiCaseId, newValue as boolean);
|
||||||
|
await getRequestDetail(props.activeDefinedId, props.activeApiCaseId);
|
||||||
Message.success(newValue ? t('case.eachHasBeenIgnored') : t('case.eachHasBeenIgnoredClosed'));
|
Message.success(newValue ? t('case.eachHasBeenIgnored') : t('case.eachHasBeenIgnoredClosed'));
|
||||||
getRequestDetail(props.activeDefinedId, props.activeApiCaseId);
|
|
||||||
emit('clearThisChange', false);
|
emit('clearThisChange', false);
|
||||||
return false;
|
return false;
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
|
Loading…
Reference in New Issue