Table: fix do layout in some conditions (#9668)

This commit is contained in:
FuryBean 2018-02-05 19:11:06 +08:00 committed by 杨奕
parent 471b8ff4cf
commit e129447126

View File

@ -421,7 +421,7 @@
}
const height = el.offsetHeight;
if (this.height && oldHeight !== height) {
if ((this.height || this.shouldUpdateHeight) && oldHeight !== height) {
shouldUpdateLayout = true;
}