Commit fa494b19 authored by lirilsu's avatar lirilsu Committed by 杨奕

Table: Trigger `doLayout` when display from `none` to others

parent 302eb311
...@@ -330,6 +330,9 @@ ...@@ -330,6 +330,9 @@
} }
if (this.$el) { if (this.$el) {
this.isHidden = this.$el.clientWidth === 0; this.isHidden = this.$el.clientWidth === 0;
if (this.isHidden && this.layout.bodyWidth) {
setTimeout(() => this.doLayout());
}
} }
}); });
} }
......
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