fix(接口测试): 修复接口测试报告步骤类型过滤bug
This commit is contained in:
parent
0da4c7c0fd
commit
7c6b2041ea
|
@ -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[]) => {
|
||||
|
|
Loading…
Reference in New Issue