From b8198ec2073ea68f250d448c895a7edcb466f600 Mon Sep 17 00:00:00 2001
From: hLinx <327159425@qq.com>
Date: Thu, 26 Dec 2024 18:15:26 +0800
Subject: [PATCH] =?UTF-8?q?perf(frontend):=20=E5=8D=95=E6=8D=AE=E5=88=97?=
=?UTF-8?q?=E8=A1=A8=E6=94=AF=E6=8C=81=20ctrl=20=E6=96=B0=E5=BC=80?=
=?UTF-8?q?=E9=A1=B5=E9=9D=A2=E6=9F=A5=E7=9C=8B=E5=8D=95=E6=8D=AE=E8=AF=A6?=
=?UTF-8?q?=E6=83=85=20#8852=20#=20Reviewed,=20transaction=20id:=2027927?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../components/list/components/TableMode.vue | 35 ++++-------------
.../common/hooks/use-open-detail.ts | 39 +++++++++++++++++++
.../components/list/components/TableMode.vue | 35 ++++-------------
.../components/list/components/TableMode.vue | 35 ++++-------------
.../components/list/components/TableMode.vue | 35 ++++-------------
.../components/list/components/TableMode.vue | 24 +++---------
6 files changed, 77 insertions(+), 126 deletions(-)
create mode 100644 dbm-ui/frontend/src/views/ticket-center/common/hooks/use-open-detail.ts
diff --git a/dbm-ui/frontend/src/views/ticket-center/business/components/list/components/TableMode.vue b/dbm-ui/frontend/src/views/ticket-center/business/components/list/components/TableMode.vue
index b581575930..7e8c678896 100644
--- a/dbm-ui/frontend/src/views/ticket-center/business/components/list/components/TableMode.vue
+++ b/dbm-ui/frontend/src/views/ticket-center/business/components/list/components/TableMode.vue
@@ -31,7 +31,7 @@
v-if="data"
text
theme="primary"
- @click="() => handleShowDetail(data)">
+ @click="(event: MouseEvent) => handleGoDetail(data, event)">
{{ data.id }}
@@ -57,16 +57,17 @@