mirror of https://github.com/ElemeFE/element
Table: fix do layout in some conditions (#9668)
parent
471b8ff4cf
commit
e129447126
|
@ -421,7 +421,7 @@
|
|||
}
|
||||
|
||||
const height = el.offsetHeight;
|
||||
if (this.height && oldHeight !== height) {
|
||||
if ((this.height || this.shouldUpdateHeight) && oldHeight !== height) {
|
||||
shouldUpdateLayout = true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue