fix(接口测试): 修复接口测试报告步骤类型过滤bug

This commit is contained in:
xinxin.wu 2024-10-28 18:38:30 +08:00 committed by Craftsman
parent 0da4c7c0fd
commit 7c6b2041ea
1 changed files with 1 additions and 3 deletions

View File

@ -165,9 +165,7 @@
const splitLevel = props.keyWords.split('-');
const stepTypeStatus = splitLevel[1] || '';
const stepType =
splitLevel[0] === 'CUSTOM_REQUEST'
? ['API', 'API_CASE', 'CUSTOM_REQUEST']
: ['API', 'API_CASE', 'CUSTOM_REQUEST', 'SCRIPT', 'API_SCENARIO'];
splitLevel[0] === 'CUSTOM_REQUEST' ? ['API', 'API_CASE', 'CUSTOM_REQUEST'] : Object.values(ScenarioStepType);
const nameSearch = innerKeyword.value?.toLowerCase(); // name
const search = (_data: ScenarioItemType[]) => {