修改点击列问题

This commit is contained in:
guanj
2026-07-10 08:57:37 +08:00
parent ee9cd057b8
commit 888b8d1bf4
4 changed files with 12 additions and 8 deletions

View File

@@ -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<VxeTableInstance>()
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 = () => {