fix(Table): fix incorrect rowKey (#6109)

* fix(Table): fix incorrect rowKey

* fix: add key for table row
This commit is contained in:
Zeke Zhang 2025-01-22 17:40:13 +08:00 committed by GitHub
parent b89f255d4c
commit 21095d0127
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -142,7 +142,7 @@ const useTableColumns = (props: { showDel?: any; isSubTable?: boolean }, paginat
<RecordIndexProvider index={record.__index || index}>
<RecordProvider isNew={isNewRecord(record)} record={record} parent={parentRecordData}>
<ColumnFieldProvider schema={s} basePath={basePath}>
<span role="button" className={schemaToolbarBigger}>
<span role="button" className={schemaToolbarBigger} key={index}>
<RecursionField basePath={basePath} schema={s} onlyRenderProperties />
</span>
</ColumnFieldProvider>