From 1c0f6b0c48591602d63e3d21ce94ef4798e77847 Mon Sep 17 00:00:00 2001
From: buhuazhen <hua100783@gmail.com>
Date: 星期四, 05 三月 2026 17:31:18 +0800
Subject: [PATCH] fix(会议申请): 修复当天会议时间选择逻辑
---
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..d05779e 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