Explorar o código

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/

white.wang %!s(int64=8) %!d(string=hai) anos
pai
achega
22c65df30f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      packages/table/src/table-header.js

+ 1 - 1
packages/table/src/table-header.js

@@ -256,7 +256,7 @@ export default {
         filterPanel = new Vue(FilterPanel);
         this.filterPanels[column.id] = filterPanel;
         if (column.filterPlacement) {
-            filterPanel.placement = column.filterPlacement;
+          filterPanel.placement = column.filterPlacement;
         }
         filterPanel.table = table;
         filterPanel.cell = cell;