diff --git a/frontend/src/views/test-plan/testPlan/detail/apiCase/components/caseTable.vue b/frontend/src/views/test-plan/testPlan/detail/apiCase/components/caseTable.vue index bc4af4abcc..6d0f62d658 100644 --- a/frontend/src/views/test-plan/testPlan/detail/apiCase/components/caseTable.vue +++ b/frontend/src/views/test-plan/testPlan/detail/apiCase/components/caseTable.vue @@ -590,6 +590,7 @@ function toDetail(record: PlanDetailApiCaseItem) { openNewPage(ApiTestRouteEnum.API_TEST_MANAGEMENT, { cId: record.apiTestCaseId, + pId: record.projectId, }); } diff --git a/frontend/src/views/test-plan/testPlan/detail/apiScenario/components/scenarioTable.vue b/frontend/src/views/test-plan/testPlan/detail/apiScenario/components/scenarioTable.vue index df984015c0..736565d35f 100644 --- a/frontend/src/views/test-plan/testPlan/detail/apiScenario/components/scenarioTable.vue +++ b/frontend/src/views/test-plan/testPlan/detail/apiScenario/components/scenarioTable.vue @@ -573,6 +573,7 @@ function toDetail(record: PlanDetailApiScenarioItem) { openNewPage(ApiTestRouteEnum.API_TEST_SCENARIO, { id: record.apiScenarioId, + pId: record.projectId, }); }