fix(用例管理): 修复用例评审页面复制链接回退按钮不能正确回退问题

--bug=1036063 --user=郭雨琦 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001036063
This commit is contained in:
guoyuqi 2024-03-25 17:18:59 +08:00 committed by 刘瑞斌
parent 9f77b9d589
commit c84c4ba8e7
1 changed files with 7 additions and 0 deletions

View File

@ -8,6 +8,7 @@
no-bottom-radius no-bottom-radius
no-content-padding no-content-padding
hide-divider hide-divider
:handle-back="backToTable"
> >
<template #headerLeft> <template #headerLeft>
<a-tooltip :content="reviewDetail.name"> <a-tooltip :content="reviewDetail.name">
@ -370,6 +371,12 @@
} }
} }
function backToTable() {
router.push({
name: CaseManagementRouteEnum.CASE_MANAGEMENT_REVIEW,
});
}
function copyReview() { function copyReview() {
router.push({ router.push({
name: CaseManagementRouteEnum.CASE_MANAGEMENT_REVIEW_CREATE, name: CaseManagementRouteEnum.CASE_MANAGEMENT_REVIEW_CREATE,