From facb7c8b5d3fe64bb97d0fdbc921985c7fb88732 Mon Sep 17 00:00:00 2001 From: spring <2396852758@qq.com> Date: 星期四, 10 七月 2025 14:42:23 +0800 Subject: [PATCH] 输入框为数字时限制不为负数60% --- src/components/Crontab/hour.vue | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Crontab/hour.vue b/src/components/Crontab/hour.vue index 23e6d50..d05779e 100644 --- a/src/components/Crontab/hour.vue +++ b/src/components/Crontab/hour.vue @@ -78,10 +78,10 @@ watch([radioValue, cycleTotal, averageTotal, checkboxString], () => onRadioChange()) function changeRadioValue(value) { if (props.cron.min === '*') { - emit('update', 'min', '0', 'hour'); + emit('update', 'min', '0', 'hour') } if (props.cron.second === '*') { - emit('update', 'second', '0', 'hour'); + emit('update', 'second', '0', 'hour') } if (value === '*') { radioValue.value = 1 -- Gitblit v1.9.3