Table: prevent click handler after drag (#16850)

pull/16867/head
hetech 2019-08-01 18:35:28 +08:00 committed by luckyCao
parent 744bad1f96
commit 6105a75595
1 changed files with 1 additions and 0 deletions

View File

@ -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;