chenhj
2026-04-30 8e4c8d6ed7088e0f9e396f324796929cc79778ca
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) {