Skip to content

Commit

Permalink
Table: prevent click handler after drag (#16850)
Browse files Browse the repository at this point in the history
  • Loading branch information
ziyoung authored and luckyCao committed Aug 1, 2019
1 parent 744bad1 commit 6105a75
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/table/src/table-header.js
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,7 @@ export default {
event.stopPropagation();
const target = event.target;
let cell = target.tagName === 'TH' ? target : target.parentNode;
if (hasClass(cell, 'noclick')) return;
cell = cell.querySelector('.el-table__column-filter-trigger') || cell;
const table = this.$parent;

Expand Down

0 comments on commit 6105a75

Please sign in to comment.