不回来误删的代码

This commit is contained in:
2betop 2021-08-18 17:43:03 +08:00
parent 87e677d72f
commit bc6cefae8c

View File

@ -1552,6 +1552,14 @@ export default class CRUD extends React.Component<CRUDProps, any> {
const items = childProps.items;
if (
!items.length ||
((!bulkActions || !bulkActions.length) &&
(!itemActions || !itemActions.length))
) {
return null;
}
const selectedItems = store.selectedItems;
const unSelectedItems = store.unSelectedItems;