From 06f2c113acf07d37adec1b048011694397052255 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A2=81=E7=81=8F?= Date: Sun, 28 Jun 2020 09:22:53 +0800 Subject: [PATCH] fix #553 --- src/components/table/table.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {