Commit da2c87a0 authored by 杨奕's avatar 杨奕 Committed by cinwell.li

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

parent 061130e1
...@@ -399,6 +399,7 @@ TableStore.prototype.toggleRowExpansion = function(row, expanded) { ...@@ -399,6 +399,7 @@ TableStore.prototype.toggleRowExpansion = function(row, expanded) {
const changed = toggleRowExpansion(this.states, row, expanded); const changed = toggleRowExpansion(this.states, row, expanded);
if (changed) { if (changed) {
this.table.$emit('expand-change', row, this.states.expandRows); this.table.$emit('expand-change', row, this.states.expandRows);
this.scheduleLayout();
} }
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment