diff --git a/src/components/table/table.vue b/src/components/table/table.vue index dc71545e..f584f252 100644 --- a/src/components/table/table.vue +++ b/src/components/table/table.vue @@ -1020,7 +1020,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; + if (this.showSummary && this.$refs.summary) this.$refs.summary.$el.scrollLeft = event.target.scrollLeft; this.hideColumnFilter(); }, handleFixedMousewheel(event) {