feat: bulkActions 中支持下拉菜单 (#3776)

This commit is contained in:
liaoxuezhi 2022-03-16 18:03:26 +08:00 committed by GitHub
parent 4a312d89fa
commit 357111c3eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1610,7 +1610,7 @@ export default class CRUD extends React.Component<CRUDProps, any> {
`bulk-action/${index}`,
{
...omit(btn, ['visibleOn', 'hiddenOn', 'disabledOn']),
type: 'button',
type: btn.type || 'button',
ignoreConfirm: true
},
{