mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-30 02:48:55 +08:00
不回来误删的代码
This commit is contained in:
parent
87e677d72f
commit
bc6cefae8c
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user