mirror of https://github.com/ElemeFE/element
Table: calc layout after row expansion changes (#9848)
parent
061130e1c7
commit
da2c87a03d
|
@ -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();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue