内存泄漏问题
This commit is contained in:
parent
cf4d60a8c8
commit
d260e127f6
|
@ -88,8 +88,12 @@ class TableHeader extends Component {
|
|||
|
||||
|
||||
componentWillUnmount(){
|
||||
if (this.props.draggable){
|
||||
this.removeDragAbleEvent();
|
||||
}
|
||||
if(this.props.dragborder){
|
||||
this.removeDragBorderEvent();
|
||||
}
|
||||
}
|
||||
|
||||
// componentDidMount(){
|
||||
|
|
Loading…
Reference in New Issue