Browse Source

Table: calc layout after row expansion changes (#9848)

杨奕 7 years ago
parent
commit
da2c87a03d
1 changed files with 1 additions and 0 deletions
  1. 1 0
      packages/table/src/table-store.js

+ 1 - 0
packages/table/src/table-store.js

@@ -399,6 +399,7 @@ TableStore.prototype.toggleRowExpansion = function(row, expanded) {
   const changed = toggleRowExpansion(this.states, row, expanded);
   if (changed) {
     this.table.$emit('expand-change', row, this.states.expandRows);
+    this.scheduleLayout();
   }
 };