From 94bcdd9b087df9a8de64735022e9b3588c4780d2 Mon Sep 17 00:00:00 2001 From: WangXu10 Date: Tue, 28 May 2024 13:55:01 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=AE=A1=E5=88=92):=20?= =?UTF-8?q?=E6=B6=88=E6=81=AF=E8=B7=B3=E8=BD=AC=E8=87=B3=E6=9F=A5=E7=9C=8B?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1040450 --user=王旭 消息通知-消息列表中点击用例的名称,应该跳转到用例的查看页面 https://www.tapd.cn/55049933/s/1522005 --- .../business/ms-message/MessageCenterDrawer.vue | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/frontend/src/components/business/ms-message/MessageCenterDrawer.vue b/frontend/src/components/business/ms-message/MessageCenterDrawer.vue index 00fada33c5..54ad79dddc 100644 --- a/frontend/src/components/business/ms-message/MessageCenterDrawer.vue +++ b/frontend/src/components/business/ms-message/MessageCenterDrawer.vue @@ -387,7 +387,7 @@ const resourceTypeRouteMap: Record = { [MessageResourceType.BUG_TASK]: BugManagementRouteEnum.BUG_MANAGEMENT_INDEX, [MessageResourceType.BUG_SYNC_TASK]: BugManagementRouteEnum.BUG_MANAGEMENT_INDEX, - [MessageResourceType.FUNCTIONAL_CASE_TASK]: CaseManagementRouteEnum.CASE_MANAGEMENT_CASE_DETAIL, + [MessageResourceType.FUNCTIONAL_CASE_TASK]: CaseManagementRouteEnum.CASE_MANAGEMENT_CASE, [MessageResourceType.CASE_REVIEW_TASK]: CaseManagementRouteEnum.CASE_MANAGEMENT_REVIEW_DETAIL, [MessageResourceType.API_DEFINITION_TASK]: ApiTestRouteEnum.API_TEST_MANAGEMENT, [MessageResourceType.API_SCENARIO_TASK]: ApiTestRouteEnum.API_TEST_SCENARIO, @@ -413,11 +413,7 @@ } const route = resourceTypeRouteMap[item.resourceType]; - if (item.resourceType === MessageResourceType.FUNCTIONAL_CASE_TASK) { - openNewPageWidthSingleParam(route, 'edit', routeQuery); - } else { - openNewPage(route, routeQuery); - } + openNewPage(route, routeQuery); } // 全部标记为已读