From 7c6b2041ea298dbb56af31ea619c52841be5d9dd Mon Sep 17 00:00:00 2001 From: "xinxin.wu" Date: Mon, 28 Oct 2024 18:38:30 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=8E=A5=E5=8F=A3=E6=B5=8B=E8=AF=95):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=8E=A5=E5=8F=A3=E6=B5=8B=E8=AF=95=E6=8A=A5?= =?UTF-8?q?=E5=91=8A=E6=AD=A5=E9=AA=A4=E7=B1=BB=E5=9E=8B=E8=BF=87=E6=BB=A4?= =?UTF-8?q?bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/api-test/report/component/tiledList.vue | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/frontend/src/views/api-test/report/component/tiledList.vue b/frontend/src/views/api-test/report/component/tiledList.vue index b22d1933aa..1e0c618073 100644 --- a/frontend/src/views/api-test/report/component/tiledList.vue +++ b/frontend/src/views/api-test/report/component/tiledList.vue @@ -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[]) => {