From ef417f3e900dffc24cd10c5a25e6a8f70ccd951d Mon Sep 17 00:00:00 2001
From: RuoYi <yzz_ivy@163.com>
Date: 星期二, 07 一月 2025 10:41:45 +0800
Subject: [PATCH] copyright 2025
---
src/components/Crontab/hour.vue | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/src/components/Crontab/hour.vue b/src/components/Crontab/hour.vue
index ad3fa67..23e6d50 100644
--- a/src/components/Crontab/hour.vue
+++ b/src/components/Crontab/hour.vue
@@ -77,6 +77,12 @@
watch(() => props.cron.hour, value => changeRadioValue(value))
watch([radioValue, cycleTotal, averageTotal, checkboxString], () => onRadioChange())
function changeRadioValue(value) {
+ if (props.cron.min === '*') {
+ emit('update', 'min', '0', 'hour');
+ }
+ if (props.cron.second === '*') {
+ emit('update', 'second', '0', 'hour');
+ }
if (value === '*') {
radioValue.value = 1
} else if (value.indexOf('-') > -1) {
--
Gitblit v1.9.3