mirror of https://github.com/ElemeFE/element
Table: Add filter-placement for table filter Popper; If the column is too wide, the popper's position will be improper;
https://jsfiddle.net/whitewang/obpsLcva/7/pull/4626/head
parent
324f541c76
commit
22c65df30f
|
@ -256,7 +256,7 @@ export default {
|
||||||
filterPanel = new Vue(FilterPanel);
|
filterPanel = new Vue(FilterPanel);
|
||||||
this.filterPanels[column.id] = filterPanel;
|
this.filterPanels[column.id] = filterPanel;
|
||||||
if (column.filterPlacement) {
|
if (column.filterPlacement) {
|
||||||
filterPanel.placement = column.filterPlacement;
|
filterPanel.placement = column.filterPlacement;
|
||||||
}
|
}
|
||||||
filterPanel.table = table;
|
filterPanel.table = table;
|
||||||
filterPanel.cell = cell;
|
filterPanel.cell = cell;
|
||||||
|
|
Loading…
Reference in New Issue