mirror of
https://gitee.com/ElemeFE/element.git
synced 2024-12-02 12:18:46 +08:00
Table: fix do layout in some conditions (#9668)
This commit is contained in:
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
Block a user