From 88b8751b57d03e55df591c5311a2f2cc814a736c Mon Sep 17 00:00:00 2001 From: spring <2396852758@qq.com> Date: 星期四, 10 七月 2025 14:53:19 +0800 Subject: [PATCH] 涉及到价格的输入框做下校验(数字格式,且大于0) --- 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