diff --git a/frontend/src/api/modules/test-plan/testPlan.ts b/frontend/src/api/modules/test-plan/testPlan.ts index cc208a909c..2353ae80ed 100644 --- a/frontend/src/api/modules/test-plan/testPlan.ts +++ b/frontend/src/api/modules/test-plan/testPlan.ts @@ -135,6 +135,7 @@ import type { RunFeatureCaseParams, SortApiCaseParams, TestPlanBaseParams, + TestPlanCaseDetail, TestPlanDetail, TestPlanItem, TestPlanWithoutPageItem, @@ -298,7 +299,7 @@ export function runFeatureCase(data: RunFeatureCaseParams) { } // 计划详情-功能用例-详情 export function getCaseDetail(id: string) { - return MSR.get({ url: `${TestPlanCaseDetailUrl}/${id}` }); + return MSR.get({ url: `${TestPlanCaseDetailUrl}/${id}` }); } // 测试计划-用例详情-缺陷列表 export function associatedBugPage(data: TableQueryParams) { diff --git a/frontend/src/components/pure/ms-advance-filter/index.vue b/frontend/src/components/pure/ms-advance-filter/index.vue index 1bbbe0eae0..66d909b23c 100644 --- a/frontend/src/components/pure/ms-advance-filter/index.vue +++ b/frontend/src/components/pure/ms-advance-filter/index.vue @@ -142,12 +142,12 @@ - []; +} diff --git a/frontend/src/views/api-test/management/components/management/api/apiTable.vue b/frontend/src/views/api-test/management/components/management/api/apiTable.vue index caa64e8960..a1b555036d 100644 --- a/frontend/src/views/api-test/management/components/management/api/apiTable.vue +++ b/frontend/src/views/api-test/management/components/management/api/apiTable.vue @@ -138,7 +138,7 @@ > - + {{ t(item.name) }} @@ -936,13 +936,6 @@ value: 'tags', }, ]; - const attrOptions = computed(() => { - // TODO 协议 选择的数据不包含HTTP协议,则选择属性中不展示“请求类型“ - // if (props.protocol === 'HTTP') { - return fullAttrs; - // } - // return fullAttrs.filter((e) => e.value !== 'method'); - }); const valueOptions = computed(() => { switch (batchForm.value.attr) { case 'status':