From 282c15c7c4a42ea4c034ad66912d267268cda421 Mon Sep 17 00:00:00 2001 From: xingyu Date: Wed, 23 Aug 2023 11:37:09 +0800 Subject: [PATCH] fix: vben codegen antdv 4.0 --- .../src/main/resources/codegen/vue3_vben/views/index.vue.vm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yudao-module-infra/yudao-module-infra-biz/src/main/resources/codegen/vue3_vben/views/index.vue.vm b/yudao-module-infra/yudao-module-infra-biz/src/main/resources/codegen/vue3_vben/views/index.vue.vm index bdd9afe7b..d9538a064 100644 --- a/yudao-module-infra/yudao-module-infra-biz/src/main/resources/codegen/vue3_vben/views/index.vue.vm +++ b/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) { { 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: {