Commit f23e45b4 authored by Jikkai Xiao's avatar Jikkai Xiao Committed by hetech

Table: allow filterable without filter-method (#12045)

parent b5063ceb
...@@ -270,7 +270,7 @@ export default { ...@@ -270,7 +270,7 @@ export default {
fixed: this.fixed === '' ? true : this.fixed, fixed: this.fixed === '' ? true : this.fixed,
filterMethod: this.filterMethod, filterMethod: this.filterMethod,
filters: this.filters, filters: this.filters,
filterable: this.filters && this.filters.length && this.filterMethod, filterable: (this.filters && this.filters.length) || this.filterMethod,
filterMultiple: this.filterMultiple, filterMultiple: this.filterMultiple,
filterOpened: false, filterOpened: false,
filteredValue: this.filteredValue || [], filteredValue: this.filteredValue || [],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment