fix(用例管理): 修复用例评审详情页用例跳转错误问题
--bug=1038121 --user=郭雨琦 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001038121
This commit is contained in:
parent
56d253714c
commit
4db6d5a4c6
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
// 创建详情
|
// 创建详情
|
||||||
|
|
|
@ -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}`
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue