mirror of
https://github.com/element-plus/element-plus.git
synced 2025-02-23 11:59:34 +08:00
fix(components): [table-v2] header style error (#15950)
This commit is contained in:
parent
69701f327c
commit
705c999f5f
@ -29,9 +29,7 @@ export const useStyles = (
|
||||
return fixed ? Math.max(Math.round(unref(columnsTotalWidth)), ret) : ret
|
||||
})
|
||||
|
||||
const headerWidth = computed(
|
||||
() => unref(bodyWidth) + (props.fixed ? props.vScrollbarSize : 0)
|
||||
)
|
||||
const headerWidth = computed(() => unref(bodyWidth) + props.vScrollbarSize)
|
||||
|
||||
const mainTableHeight = computed(() => {
|
||||
const { height = 0, maxHeight = 0, footerHeight, hScrollbarSize } = props
|
||||
|
Loading…
Reference in New Issue
Block a user