update Table summary when fixed
This commit is contained in:
parent
0b183ebba2
commit
07bde2f56d
2 changed files with 18 additions and 14 deletions
|
@ -27,6 +27,7 @@
|
|||
</div>
|
||||
<table-summary
|
||||
v-if="showSummary && (data && data.length)"
|
||||
ref="summary"
|
||||
:prefix-cls="prefixCls"
|
||||
:styleObject="tableStyle"
|
||||
:columns="cloneColumns"
|
||||
|
@ -769,6 +770,7 @@
|
|||
if (this.showHeader) this.$refs.header.scrollLeft = event.target.scrollLeft;
|
||||
if (this.isLeftFixed) this.$refs.fixedBody.scrollTop = event.target.scrollTop;
|
||||
if (this.isRightFixed) this.$refs.fixedRightBody.scrollTop = event.target.scrollTop;
|
||||
if (this.showSummary) this.$refs.summary.$el.scrollLeft = event.target.scrollLeft;
|
||||
this.hideColumnFilter();
|
||||
},
|
||||
handleFixedMousewheel(event) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue