From 818ef0e1f0811c474caafc08fe07fce6fa1bcc63 Mon Sep 17 00:00:00 2001 From: ssongliu <73214554+ssongliu@users.noreply.github.com> Date: Fri, 21 Mar 2025 18:49:25 +0800 Subject: [PATCH] fix: Fixed an issue where no default button is set for groups (#8217) --- frontend/src/components/group/index.vue | 2 +- frontend/src/views/cronjob/library/index.vue | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/components/group/index.vue b/frontend/src/components/group/index.vue index 0b0ba6cdd..aad664baa 100644 --- a/frontend/src/components/group/index.vue +++ b/frontend/src/components/group/index.vue @@ -52,7 +52,7 @@ diff --git a/frontend/src/views/cronjob/library/index.vue b/frontend/src/views/cronjob/library/index.vue index 0dabdd40e..bada7d0f7 100644 --- a/frontend/src/views/cronjob/library/index.vue +++ b/frontend/src/views/cronjob/library/index.vue @@ -76,7 +76,7 @@ - + @@ -120,7 +120,7 @@ const groupOptions = ref(); const dialogGroupRef = ref(); const onOpenGroupDialog = () => { - dialogGroupRef.value!.acceptParams({ type: 'script' }); + dialogGroupRef.value!.acceptParams({ type: 'script', hideDefaultButton: true }); }; const dialogRef = ref();