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

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

View File

@ -79,8 +79,8 @@ var TableHeader = function (_Component) {
clsPrefix = _this$props.clsPrefix,
contentTable = _this$props.contentTable,
lastShowIndex = _this$props.lastShowIndex;
var currentElement = _this.getOnLineObject(targetEvent);
// let currentElement = this.getOnLineObject(targetEvent);
var currentElement = _this.getTargetToTh(targetEvent);
if (!currentElement) return;
var type = currentElement.getAttribute('data-type');
if (!_this.props.dragborder && !_this.props.draggable) return;