From fc3bf641f097eb26ad57d4ccfd7930924f1692c4 Mon Sep 17 00:00:00 2001 From: "xinxin.wu" Date: Mon, 9 Dec 2024 15:21:53 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=B7=A5=E4=BD=9C=E5=8F=B0):=20=E8=B0=83?= =?UTF-8?q?=E6=95=B4=E5=B7=A5=E4=BD=9C=E5=8F=B0=E8=A6=86=E7=9B=96=E7=8E=87?= =?UTF-8?q?=E8=B7=B3=E8=BD=AC=E5=85=A5=E5=8F=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/config/workbench.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/frontend/src/config/workbench.ts b/frontend/src/config/workbench.ts index 05acb873c4..07e6b92f87 100644 --- a/frontend/src/config/workbench.ts +++ b/frontend/src/config/workbench.ts @@ -364,28 +364,28 @@ export const NAV_NAVIGATION: Record = { * 接口 */ [WorkNavValueEnum.API_COUNT_COVER]: { - apiDefinition: ['coverFrom'], // 接口覆盖 + coverFrom: ['apiDefinition'], // 接口覆盖 }, [WorkNavValueEnum.API_COUNT_UN_COVER]: { - apiDefinition: ['unCoverFrom'], // 接口未覆盖 + unCoverFrom: ['apiDefinition'], // 接口未覆盖 }, /** * 接口用例 */ [WorkNavValueEnum.API_CASE_COUNT_COVER]: { - apiCase: ['coverFrom'], // 接口覆盖 + coverFrom: ['apiCase'], // 接口用例覆盖 }, [WorkNavValueEnum.API_CASE_COUNT_UN_COVER]: { - apiCase: ['unCoverFrom'], // 接口未覆盖 + unCoverFrom: ['apiCase'], // 接口用例未覆盖 }, /** * 场景用例 */ [WorkNavValueEnum.SCENARIO_COVER]: { - apiScenario: ['coverFrom'], // 接口场景覆盖 + coverFrom: ['apiScenario'], // 接口场景覆盖 }, [WorkNavValueEnum.SCENARIO_UN_COVER]: { - apiScenario: ['unCoverFrom'], // 接口场景未覆盖 + unCoverFrom: ['apiScenario'], // 接口场景未覆盖 }, [WorkNavValueEnum.SCENARIO_COUNT_EXECUTED_NOT_RESULT]: { lastReportStatus: [''] }, // 场景用例-无执行结果