Commit d652e73f authored by Liril's avatar Liril Committed by 杨奕

Table: init filters.

parent 6287da4a
......@@ -369,6 +369,16 @@
this.bindEvents();
this.doLayout();
// init filters
this.store.states.columns.forEach(column => {
if (column.filteredValue && column.filteredValue.length) {
this.store.commit('filterChange', {
column,
values: column.filteredValue
});
}
});
this.$ready = true;
},
......
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