mirror of
https://gitee.com/ElemeFE/element.git
synced 2024-12-02 20:28:52 +08:00
Table: declare column length vars in store init (#9188)
* spread -> merge * Update table-store.js
This commit is contained in:
parent
fcbf7830b9
commit
e15c7e0d63
@ -90,6 +90,9 @@ const TableStore = function(table, initialState = {}) {
|
|||||||
leafColumns: [],
|
leafColumns: [],
|
||||||
fixedLeafColumns: [],
|
fixedLeafColumns: [],
|
||||||
rightFixedLeafColumns: [],
|
rightFixedLeafColumns: [],
|
||||||
|
leafColumnsLength: 0,
|
||||||
|
fixedLeafColumnsLength: 0,
|
||||||
|
rightFixedLeafColumnsLength: 0,
|
||||||
isComplex: false,
|
isComplex: false,
|
||||||
_data: null,
|
_data: null,
|
||||||
filteredData: null,
|
filteredData: null,
|
||||||
|
Loading…
Reference in New Issue
Block a user