title 为dom结构时,拖拽失去焦点

This commit is contained in:
jonyshi 2019-08-01 18:57:37 +08:00
parent 8abf487b30
commit 3035d41fd6
1 changed files with 2 additions and 1 deletions

View File

@ -197,7 +197,8 @@ class TableHeader extends Component {
let event = Event.getEvent(e) ,
targetEvent = Event.getTarget(event);
const { clsPrefix, contentTable,lastShowIndex } = this.props;
let currentElement = this.getOnLineObject(targetEvent);
// let currentElement = this.getOnLineObject(targetEvent);
let currentElement = this.getTargetToTh(targetEvent);
if(!currentElement)return;
let type = currentElement.getAttribute('data-type');
if(!this.props.dragborder && !this.props.draggable)return;