From 6c70a776a02de9c9d3e9c121c6a11920888634c8 Mon Sep 17 00:00:00 2001 From: guanj Date: Fri, 17 Jul 2026 08:50:25 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=97=E8=AE=BE=E7=BD=AE=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E7=BC=93=E5=AD=98=20=E8=B0=83=E6=95=B4=E7=9B=91=E6=B5=8B?= =?UTF-8?q?=E7=82=B9=E5=8F=B0=E8=B4=A6=E5=AF=BC=E5=87=BAid=E9=87=8D?= =?UTF-8?q?=E5=A4=8D=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/table/column/index.vue | 64 +++++++---- src/components/table/defaultAttribute.ts | 4 +- src/components/table/index.vue | 12 +- src/layouts/admin/components/navMenus.vue | 5 +- .../admin/components/popup/password.vue | 3 +- src/styles/loading.scss | 108 +++++++++--------- src/utils/storage.ts | 104 +++++++++-------- .../components/monitorLedgerTable.vue | 4 +- .../operationsManagement/point/index.vue | 2 +- 9 files changed, 173 insertions(+), 133 deletions(-) diff --git a/src/components/table/column/index.vue b/src/components/table/column/index.vue index a241d6a1..b57064a7 100644 --- a/src/components/table/column/index.vue +++ b/src/components/table/column/index.vue @@ -1,23 +1,41 @@ - + diff --git a/src/components/table/defaultAttribute.ts b/src/components/table/defaultAttribute.ts index 452f416b..65ed9042 100644 --- a/src/components/table/defaultAttribute.ts +++ b/src/components/table/defaultAttribute.ts @@ -7,11 +7,11 @@ export const defaultAttribute: VxeTableProps = { stripe: true, size: 'small', columnConfig: { resizable: true, useKey: true }, - rowConfig: { isCurrent: true, isHover: true, keyField: 'id' }, + rowConfig: { isCurrent: true, isHover: true, }, scrollX: { scrollToLeftOnChange: true }, scrollY: { enabled: false }, // 注意:全局不要默认开启 treeConfig,会与 stripe 冲突;树表在页面自行配置 - customConfig: { enabled: true, allowFixed: false, showFooter: false, immediate: true, mode: 'default' }, + customConfig: { enabled: true, allowFixed: true, storage: true, showFooter: false, immediate: true ,mode:'default'}, showOverflow: 'tooltip', showHeaderOverflow: false } diff --git a/src/components/table/index.vue b/src/components/table/index.vue index 20e01489..0c0f145f 100644 --- a/src/components/table/index.vue +++ b/src/components/table/index.vue @@ -1,20 +1,23 @@