Explorar el Código

Table: prevent click handler after drag (#16850)

hetech hace 6 años
padre
commit
6105a75595
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      packages/table/src/table-header.js

+ 1 - 0
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;