Commit 282c15c7c4a42ea4c034ad66912d267268cda421
1 parent
baa2e69c
fix: vben codegen antdv 4.0
Showing
1 changed file
with
1 additions
and
1 deletions
yudao-module-infra/yudao-module-infra-biz/src/main/resources/codegen/vue3_vben/views/index.vue.vm
| ... | ... | @@ -73,7 +73,7 @@ async function handleDelete(record: Recordable) { |
| 73 | 73 | { icon: IconEnum.EDIT, label: t('action.edit'), auth: '${permissionPrefix}:update', onClick: handleEdit.bind(null, record) }, |
| 74 | 74 | { |
| 75 | 75 | icon: IconEnum.DELETE, |
| 76 | - color: 'error', | |
| 76 | + danger: true, | |
| 77 | 77 | label: t('action.delete'), |
| 78 | 78 | auth: '${permissionPrefix}:delete', |
| 79 | 79 | popConfirm: { | ... | ... |