fix(测试计划): 点击跨项目id,打开对应项目的用例

--bug=1042670 --user=吕梦园
https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001042670
This commit is contained in:
teukkk 2024-06-20 10:44:58 +08:00 committed by Craftsman
parent 165bf2676f
commit 301d55294e
2 changed files with 2 additions and 0 deletions

View File

@ -590,6 +590,7 @@
function toDetail(record: PlanDetailApiCaseItem) {
openNewPage(ApiTestRouteEnum.API_TEST_MANAGEMENT, {
cId: record.apiTestCaseId,
pId: record.projectId,
});
}

View File

@ -573,6 +573,7 @@
function toDetail(record: PlanDetailApiScenarioItem) {
openNewPage(ApiTestRouteEnum.API_TEST_SCENARIO, {
id: record.apiScenarioId,
pId: record.projectId,
});
}