Skip to content

Commit bc5096e

Browse files
committed
Table: allow filterable without filter-method
1 parent 9aa6869 commit bc5096e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/table/src/table-column.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ export default {
270270
fixed: this.fixed === '' ? true : this.fixed,
271271
filterMethod: this.filterMethod,
272272
filters: this.filters,
273-
filterable: this.filters && this.filters.length && this.filterMethod,
273+
filterable: (this.filters && this.filters.length) || this.filterMethod,
274274
filterMultiple: this.filterMultiple,
275275
filterOpened: false,
276276
filteredValue: this.filteredValue || [],

0 commit comments

Comments
 (0)