feat:CRUD&Table上下文校正

This commit is contained in:
lvxiaojiao 2023-05-06 13:17:32 +08:00
parent 85be381801
commit ca895ffd9e

View File

@ -775,7 +775,7 @@ export default class CRUD extends React.Component<CRUDProps, any> {
const ctx = createObject(store.mergedData, {
...selectedItems[0],
currentPageData: store.mergedData.items.concat(),
currentPageData: (store.mergedData?.items || []).concat(),
rows: selectedItems,
items: selectedItems,
selectedItems,