fix(grid): fix data undefined in mobile-first (#3541)
This commit is contained in:
parent
f5b6f37a23
commit
f8f2fb2fb1
|
@ -269,7 +269,7 @@ const Methods = {
|
||||||
const { renderSize, startIndex } = scrollYStore
|
const { renderSize, startIndex } = scrollYStore
|
||||||
const graphed = _graphInfo?.graphed
|
const graphed = _graphInfo?.graphed
|
||||||
const tableNode = scrollYLoad ? graphed?.slice(startIndex, startIndex + renderSize) : graphed
|
const tableNode = scrollYLoad ? graphed?.slice(startIndex, startIndex + renderSize) : graphed
|
||||||
const tableData = tableNode?.map((node) => node.payload)
|
const tableData = tableNode?.map((node) => node.payload) || []
|
||||||
|
|
||||||
this.tableNode = tableNode
|
this.tableNode = tableNode
|
||||||
this.tableData = tableData
|
this.tableData = tableData
|
||||||
|
|
Loading…
Reference in New Issue