From bbbd86366a092bc079ac6232477cb20348dae4db Mon Sep 17 00:00:00 2001 From: hLinx <327159425@qq.com> Date: Thu, 9 Jan 2025 15:22:15 +0800 Subject: [PATCH 1/2] =?UTF-8?q?fix(frontend):=20=E5=B9=B3=E5=8F=B0?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E5=8D=95=E6=8D=AE=E6=9F=A5=E7=9C=8B=E8=AF=A6?= =?UTF-8?q?=E6=83=85=E8=B7=B3=E8=BD=AC=E9=80=BB=E8=BE=91=E5=86=B2=E7=AA=81?= =?UTF-8?q?=20#8998=20#=20Reviewed,=20transaction=20id:=2028909?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ticket-center/common/TableModeTable.vue | 4 ++++ .../components/list/components/TableMode.vue | 22 +++---------------- 2 files changed, 7 insertions(+), 19 deletions(-) diff --git a/dbm-ui/frontend/src/views/ticket-center/common/TableModeTable.vue b/dbm-ui/frontend/src/views/ticket-center/common/TableModeTable.vue index 5619164403..c9dfbffe93 100644 --- a/dbm-ui/frontend/src/views/ticket-center/common/TableModeTable.vue +++ b/dbm-ui/frontend/src/views/ticket-center/common/TableModeTable.vue @@ -8,6 +8,10 @@ :max-height="tableMaxHeight" :pagination="pagination" :row-class="rowClass" + :row-config="{ + useKey: true, + keyField: 'id', + }" :show-overflow="false" @filter-change="handleFilterChange" @page-limit-change="handlePageLimitChange" diff --git a/dbm-ui/frontend/src/views/ticket-center/platform-manage/components/list/components/TableMode.vue b/dbm-ui/frontend/src/views/ticket-center/platform-manage/components/list/components/TableMode.vue index f2951fe3fa..51e252d192 100644 --- a/dbm-ui/frontend/src/views/ticket-center/platform-manage/components/list/components/TableMode.vue +++ b/dbm-ui/frontend/src/views/ticket-center/platform-manage/components/list/components/TableMode.vue @@ -40,9 +40,9 @@