fix(components): [table] avoid width calculation errors caused by hidden (#21492)

This commit is contained in:
Zhong
2025-07-25 10:20:05 +08:00
committed by GitHub
parent d688af16b0
commit 1bf92d6146

View File

@ -91,7 +91,7 @@ export default defineComponent({
)
if (el) {
const width = el.getBoundingClientRect().width
column.width = width
column.width = width || column.width
}
})
saveIndexSelection.clear()