From bad3f47f0c1cede0adebe4fb09797d25710c3a07 Mon Sep 17 00:00:00 2001 From: jonyshi Date: Wed, 20 Mar 2019 12:36:12 +0800 Subject: [PATCH] =?UTF-8?q?=E5=86=85=E5=AD=98=E6=B3=84=E6=BC=8F=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/TableHeader.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/TableHeader.js b/src/TableHeader.js index ee8d58d..9f82a25 100644 --- a/src/TableHeader.js +++ b/src/TableHeader.js @@ -86,6 +86,12 @@ class TableHeader extends Component { this.initEvent(); } + + componentWillUnmount(){ + this.removeDragAbleEvent(); + this.removeDragBorderEvent(); + } + // componentDidMount(){ // this.initTable(); // this.initEvent();