From 0b49dff059dd53a17e5622eafc37d1904c5f5a71 Mon Sep 17 00:00:00 2001 From: hetech Date: Thu, 1 Aug 2019 18:35:28 +0800 Subject: [PATCH] Table: prevent click handler after drag (#16850) --- packages/table/src/table-header.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/table/src/table-header.js b/packages/table/src/table-header.js index 728ac0c883c..656266972a4 100644 --- a/packages/table/src/table-header.js +++ b/packages/table/src/table-header.js @@ -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;