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

pull/9686/head
FuryBean 2018-02-05 19:11:06 +08:00 committed by 杨奕
parent 471b8ff4cf
commit e129447126
1 changed files with 1 additions and 1 deletions

View File

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