From 888b8d1bf4dd2cbe61192ea5f52b96f37cb1c7cf Mon Sep 17 00:00:00 2001 From: guanj Date: Fri, 10 Jul 2026 08:57:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=82=B9=E5=87=BB=E5=88=97?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/table/header/index.vue | 4 ++-- src/components/table/index.vue | 8 ++++++-- .../pqs/harmonicMonitoring/area/SteadyState/index.vue | 4 ++-- .../pqs/harmonicMonitoring/area/qualifiedRate/index.vue | 4 ++-- 4 files changed, 12 insertions(+), 8 deletions(-) diff --git a/src/components/table/header/index.vue b/src/components/table/header/index.vue index a12f1402..156e41a3 100644 --- a/src/components/table/header/index.vue +++ b/src/components/table/header/index.vue @@ -191,9 +191,9 @@ const openCustomColumn = () => { table.reactData.customStore.activeBtn = false } if (customColumnVisibleOnPress) { - table.closeCustom?.() + table?.closeCustom?.() } else { - table.openCustom?.() + table?.openCustom?.() } } onMounted(() => { diff --git a/src/components/table/index.vue b/src/components/table/index.vue index 72054ffc..20e01489 100644 --- a/src/components/table/index.vue +++ b/src/components/table/index.vue @@ -75,6 +75,10 @@ import type TableStoreClass from '@/utils/tableStore' import { useRouter } from 'vue-router' import { defaultAttribute } from '@/components/table/defaultAttribute' +defineOptions({ + inheritAttrs: false +}) + const config = useConfig() const tableRef = ref() const tableStore = inject('tableStore') as TableStoreClass @@ -151,9 +155,9 @@ const openCustomColumn = () => { table.reactData.customStore.activeBtn = false } if (customColumnVisibleOnPress) { - table.closeCustom?.() + table?.closeCustom?.() } else { - table.openCustom?.() + table?.openCustom?.() } } const getRef = () => { diff --git a/src/views/pqs/harmonicMonitoring/area/SteadyState/index.vue b/src/views/pqs/harmonicMonitoring/area/SteadyState/index.vue index a12d9478..20b260f1 100644 --- a/src/views/pqs/harmonicMonitoring/area/SteadyState/index.vue +++ b/src/views/pqs/harmonicMonitoring/area/SteadyState/index.vue @@ -1,7 +1,7 @@