mirror of
https://github.com/element-plus/element-plus.git
synced 2025-08-26 12:32:17 +08:00
fix(components): [table] avoid width calculation errors caused by hidden (#21492)
This commit is contained in:
@ -91,7 +91,7 @@ export default defineComponent({
|
||||
)
|
||||
if (el) {
|
||||
const width = el.getBoundingClientRect().width
|
||||
column.width = width
|
||||
column.width = width || column.width
|
||||
}
|
||||
})
|
||||
saveIndexSelection.clear()
|
||||
|
Reference in New Issue
Block a user