From 0b46fa89a9e8c9a1934b0b664872beda0ae0afe1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BB=B2=E4=B9=88=E4=BA=86?= Date: Fri, 1 Mar 2024 15:47:57 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E8=A1=A8=E6=A0=BC=E9=BB=98?= =?UTF-8?q?=E8=AE=A4id=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/table/defaultAttribute.ts | 2 +- src/components/table/index.vue | 4 ++-- .../pqs/voltageSags/operationsManagement/point/index.vue | 1 - 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/components/table/defaultAttribute.ts b/src/components/table/defaultAttribute.ts index 8eedf86a..fcf568b9 100644 --- a/src/components/table/defaultAttribute.ts +++ b/src/components/table/defaultAttribute.ts @@ -7,7 +7,7 @@ export const defaultAttribute: VxeTableProps = { stripe: true, size: 'small', columnConfig: { resizable: true }, - rowConfig: { isCurrent: true, isHover: true,keyField: 'id' }, + rowConfig: { isCurrent: true, isHover: true }, scrollX: { scrollToLeftOnChange: true }, scrollY: { scrollToTopOnChange: true, enabled: true }, treeConfig: { diff --git a/src/components/table/index.vue b/src/components/table/index.vue index 2e4bc8d9..d93a1f70 100644 --- a/src/components/table/index.vue +++ b/src/components/table/index.vue @@ -16,14 +16,14 @@ v-for="(item, index) in tableStore.table.column" :field="item.field" :title="item.title" - :key="index" + :key="index + '-column'" :min-width="item.width" show-overflow align="center" > diff --git a/src/views/pqs/voltageSags/operationsManagement/point/index.vue b/src/views/pqs/voltageSags/operationsManagement/point/index.vue index 7b721ea6..01e41f20 100644 --- a/src/views/pqs/voltageSags/operationsManagement/point/index.vue +++ b/src/views/pqs/voltageSags/operationsManagement/point/index.vue @@ -60,7 +60,6 @@ import TableStore from '@/utils/tableStore' import Table from '@/components/table/index.vue' import TableHeader from '@/components/table/header/index.vue' import { useDictData } from '@/stores/dictData' -import Area from '@/components/form/area/index.vue' defineOptions({ name: 'Operationmanagement/accountinformation'