拖拽完成后,数据清空

This commit is contained in:
“jonyshi” 2018-12-03 09:34:30 +08:00
parent 64dfc419db
commit d7cb80658f
1 changed files with 5 additions and 2 deletions

View File

@ -227,11 +227,14 @@ class TableHeader extends Component {
};
clearDragBorder(){
if (!this.props.dragborder) return;
// if (!this.props.dragborder || !this.props.draggable) return;
if(!this.drag)return;
this.drag = {
option:""
};
if (!this.props.draggable){
this.removeDragAbleEvent();
}
}
//---拖拽列宽代码逻辑----start-----