Table: declare column length vars in store init (#9188)

* spread -> merge

* Update table-store.js
pull/9225/head
Anatoly Kolesov 2018-01-10 15:06:58 +03:00 committed by 杨奕
parent fcbf7830b9
commit e15c7e0d63
1 changed files with 3 additions and 0 deletions

View File

@ -90,6 +90,9 @@ const TableStore = function(table, initialState = {}) {
leafColumns: [],
fixedLeafColumns: [],
rightFixedLeafColumns: [],
leafColumnsLength: 0,
fixedLeafColumnsLength: 0,
rightFixedLeafColumnsLength: 0,
isComplex: false,
_data: null,
filteredData: null,