Commit 3c8a6e8e authored by 杨奕's avatar 杨奕 Committed by GitHub

Table: fix filter panel reference element to the trigger span (#10384)

parent af4b13d9
......@@ -325,7 +325,8 @@ export default {
handleFilterClick(event, column) {
event.stopPropagation();
const target = event.target;
const cell = target.parentNode;
let cell = target.tagName === 'TH' ? target : target.parentNode;
cell = cell.querySelector('.el-table__column-filter-trigger') || cell;
const table = this.$parent;
let filterPanel = this.filterPanels[column.id];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment