fix(用例管理): 修复用例评审详情页用例跳转错误问题

--bug=1038121 --user=郭雨琦 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001038121
This commit is contained in:
guoyuqi 2024-04-01 13:55:46 +08:00 committed by 刘瑞斌
parent 56d253714c
commit 4db6d5a4c6
2 changed files with 5 additions and 3 deletions

View File

@ -1231,7 +1231,9 @@
// //
function showCaseDetail(id: string, index: number) { function showCaseDetail(id: string, index: number) {
activeCaseIndex.value = index; showDetailDrawer.value = true;
activeDetailId.value = id;
activeCaseIndex.value = index - 1;
} }
// //

View File

@ -527,8 +527,8 @@
function goCaseDetail() { function goCaseDetail() {
window.open( window.open(
`${window.location.origin}#${ `${window.location.origin}#${
router.resolve({ name: CaseManagementRouteEnum.CASE_MANAGEMENT_CASE_DETAIL }).fullPath router.resolve({ name: CaseManagementRouteEnum.CASE_MANAGEMENT_CASE }).fullPath
}?id=${activeCaseId.value}` }?id=${activeCaseId.value}&orgId=${appStore.currentOrgId}&pId=${appStore.currentProjectId}`
); );
} }