fix(grid): fix data undefined in mobile-first (#3541)

This commit is contained in:
gimmyhehe 2025-06-27 11:47:59 +08:00 committed by GitHub
parent f5b6f37a23
commit f8f2fb2fb1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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