内存泄漏问题

This commit is contained in:
jonyshi 2019-03-20 12:36:12 +08:00
parent 1f6082e2fd
commit bad3f47f0c
1 changed files with 6 additions and 0 deletions

View File

@ -86,6 +86,12 @@ class TableHeader extends Component {
this.initEvent();
}
componentWillUnmount(){
this.removeDragAbleEvent();
this.removeDragBorderEvent();
}
// componentDidMount(){
// this.initTable();
// this.initEvent();