diff --git a/apps/web-antd/src/views/system/dept/index.vue b/apps/web-antd/src/views/system/dept/index.vue index e85b290c2..64f998ec1 100644 --- a/apps/web-antd/src/views/system/dept/index.vue +++ b/apps/web-antd/src/views/system/dept/index.vue @@ -182,6 +182,7 @@ const [Grid, gridApi] = useVbenVxeGrid({ auth: ['system:dept:delete'], disabled: row.children && row.children.length > 0, popConfirm: { + disabled: row.children && row.children.length > 0, title: $t('ui.actionMessage.deleteConfirm', [row.name]), confirm: handleDelete.bind(null, row), },