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

* spread -> merge

* Update table-store.js
This commit is contained in:
Anatoly Kolesov 2018-01-10 15:06:58 +03:00 committed by 杨奕
parent fcbf7830b9
commit e15c7e0d63

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,