@lx-frontend/wrap-element-ui 1.0.19-beta.10 → 1.0.19-beta.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lx-frontend/wrap-element-ui",
3
- "version": "1.0.19-beta.10",
3
+ "version": "1.0.19-beta.11",
4
4
  "description": "wrap-element-ui",
5
5
  "author": "",
6
6
  "main": "src/components/index.ts",
@@ -93,7 +93,7 @@ export function useColumnHeaderOperation({ props, tableDomRef, emit, showingColu
93
93
  }
94
94
 
95
95
  if (item.type === 'slot') {
96
- return item.active
96
+ return item.active()
97
97
  }
98
98
 
99
99
  return !!filteredValue.value[item.prop]
@@ -63,7 +63,7 @@ export interface IFilterColorRadio {
63
63
  export interface IFilterSolt {
64
64
  type: 'slot',
65
65
  slotName: string,
66
- active: boolean
66
+ active: () => boolean
67
67
  }
68
68
 
69
69
  export type FilterItem = IFilterInput | IFilterSelect | IFilterDoubleDatePicker | IFilterMonthDayPicker | IFilterColorRadio | IFilterSolt