mirror of
https://gitee.com/ElemeFE/element.git
synced 2024-11-30 03:07:36 +08:00
Table: fix filter panel reference element to the trigger span (#10384)
This commit is contained in:
parent
af4b13d911
commit
3c8a6e8e30
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user