内存泄漏问题

This commit is contained in:
jonyshi 2019-03-20 17:35:38 +08:00
parent cf4d60a8c8
commit d260e127f6
1 changed files with 4 additions and 0 deletions

View File

@ -88,8 +88,12 @@ class TableHeader extends Component {
componentWillUnmount(){
if (this.props.draggable){
this.removeDragAbleEvent();
}
if(this.props.dragborder){
this.removeDragBorderEvent();
}
}
// componentDidMount(){