Merge pull request #2392 from QingWei-Li/fix/table/filteredValue

Table: missing filteredValue prop, fixed #2348
pull/2399/head
baiyaaaaa 2017-01-13 17:49:30 +08:00 committed by GitHub
commit a2876ab8cb
1 changed files with 2 additions and 1 deletions

View File

@ -143,6 +143,7 @@ export default {
selectable: Function, selectable: Function,
reserveSelection: Boolean, reserveSelection: Boolean,
filterMethod: Function, filterMethod: Function,
filteredValue: Array,
filters: Array, filters: Array,
filterMultiple: { filterMultiple: {
type: Boolean, type: Boolean,
@ -235,7 +236,7 @@ export default {
filterable: this.filters || this.filterMethod, filterable: this.filters || this.filterMethod,
filterMultiple: this.filterMultiple, filterMultiple: this.filterMultiple,
filterOpened: false, filterOpened: false,
filteredValue: [] filteredValue: this.filteredValue || []
}); });
objectAssign(column, forced[type] || {}); objectAssign(column, forced[type] || {});