From 2bfa6bd7ed05469743c7160561a21ae4546a7dc7 Mon Sep 17 00:00:00 2001 From: xuyuxiang Date: Thu, 10 Sep 2026 23:21:08 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=BA=95=E5=BA=A7=E3=80=91=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=20#IKD0ZT=20=E5=AE=9A=E6=97=B6=E4=BB=BB=E5=8A=A1?= =?UTF-8?q?=EF=BC=8C=E6=B7=BB=E5=8A=A0=E5=B9=B4=E5=8F=82=E6=95=B0=E6=97=B6?= =?UTF-8?q?=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- snowy-admin-web/src/components/Cron/index.vue | 9 ++++++--- snowy-admin-web/src/views/dev/job/form.vue | 9 ++++++++- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/snowy-admin-web/src/components/Cron/index.vue b/snowy-admin-web/src/components/Cron/index.vue index fedfc994..693176be 100644 --- a/snowy-admin-web/src/components/Cron/index.vue +++ b/snowy-admin-web/src/components/Cron/index.vue @@ -344,6 +344,9 @@ + @@ -719,7 +723,7 @@ } const submit = () => { - let year = value_year.value ? ' ' + value_year.value : '' + // Spring 定时任务仅支持 6 段式 Cron 表达式,不支持年字段 defaultValue.value = value_second.value + ' ' + @@ -731,8 +735,7 @@ ' ' + value_month.value + ' ' + - value_week.value + - year + value_week.value emit('update:modelValue', defaultValue.value) modalVisible.value = false } diff --git a/snowy-admin-web/src/views/dev/job/form.vue b/snowy-admin-web/src/views/dev/job/form.vue index 767486dc..4b5c321e 100644 --- a/snowy-admin-web/src/views/dev/job/form.vue +++ b/snowy-admin-web/src/views/dev/job/form.vue @@ -16,7 +16,14 @@ - + +