mirror of
https://github.com/element-plus/element-plus.git
synced 2024-11-21 01:02:59 +08:00
fix(components): [table] the empty slot height error (#9226)
This commit is contained in:
parent
137f30576c
commit
664c61936c
@ -263,7 +263,7 @@ function useStyle<T>(
|
||||
const emptyBlockStyle = computed(() => {
|
||||
if (props.data && props.data.length) return null
|
||||
let height = '100%'
|
||||
if (bodyScrollHeight.value) {
|
||||
if (props.height && bodyScrollHeight.value) {
|
||||
height = `${bodyScrollHeight.value}px`
|
||||
}
|
||||
const width = tableWidth.value
|
||||
|
Loading…
Reference in New Issue
Block a user