From f9bbba68b43ca3c2ebe9d0693b1c32d797a90ea6 Mon Sep 17 00:00:00 2001 From: Kubbo <390378816@qq.com> Date: Mon, 5 Aug 2024 01:11:06 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4table=E6=BB=9A=E5=8A=A8?= =?UTF-8?q?=E5=85=BC=E9=A1=BE=E4=BD=BF=E7=94=A8=E6=BB=9A=E5=8A=A8=E6=9D=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/inject.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/utils/inject.js b/src/utils/inject.js index 1548b68..b19ce63 100644 --- a/src/utils/inject.js +++ b/src/utils/inject.js @@ -190,7 +190,6 @@ Vue.component("scrollTable", { }, beforeDestroy() { this.stopAutoScroll() - this.scroll?.destroy() const dom = this.$el.querySelector('.el-table__body-wrapper') dom.removeEventListener("mouseover", this.stopAutoScroll) dom.removeEventListener("mouseout", this.autoScroll)