From 1b86b4e4cd446af6d025e3e256c9b40e0981b070 Mon Sep 17 00:00:00 2001 From: feng626 <1304903146@qq.com> Date: Wed, 13 Jul 2022 15:47:36 +0800 Subject: [PATCH] fix: ticket bug --- src/views/myhome/components/Ticket.vue | 4 +++- src/views/tickets/TicketDetail/index.vue | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/views/myhome/components/Ticket.vue b/src/views/myhome/components/Ticket.vue index 55b0c7445..46f735fd7 100644 --- a/src/views/myhome/components/Ticket.vue +++ b/src/views/myhome/components/Ticket.vue @@ -39,8 +39,10 @@ export default { return 'AssetsTicketDetail' } else if (row.type === 'apply_application') { return 'AppsTicketDetail' - } else if (row.type === 'login_asset_confirm' || row.type === 'login_confirm') { + } else if (row.type === 'login_asset_confirm') { return 'LoginAssetTicketDetail' + } else if (row.type === 'login_confirm') { + return 'LoginTicketDetail' } else if (row.type === 'command_confirm') { return 'CommandConfirmDetail' } else { diff --git a/src/views/tickets/TicketDetail/index.vue b/src/views/tickets/TicketDetail/index.vue index 1fb9a980f..080f686f6 100644 --- a/src/views/tickets/TicketDetail/index.vue +++ b/src/views/tickets/TicketDetail/index.vue @@ -51,7 +51,7 @@ export default { const ticketRouteMapper = { 'apply_asset': 'AssetsTicketDetail', 'apply_application': 'AppsTicketDetail', - 'login_confirm': 'LoginAssetTicketDetail', + 'login_confirm': 'LoginTicketDetail', 'login_asset_confirm': 'LoginAssetTicketDetail', 'command_confirm': 'CommandConfirmDetail' }