fix: vben codegen antdv 4.0

This commit is contained in:
xingyu 2023-08-23 11:37:09 +08:00
parent baa2e69cdf
commit 282c15c7c4

View File

@ -73,7 +73,7 @@ async function handleDelete(record: Recordable) {
{ icon: IconEnum.EDIT, label: t('action.edit'), auth: '${permissionPrefix}:update', onClick: handleEdit.bind(null, record) },
{
icon: IconEnum.DELETE,
color: 'error',
danger: true,
label: t('action.delete'),
auth: '${permissionPrefix}:delete',
popConfirm: {