diff --git a/src/components/input/CronInput.vue b/src/components/input/CronInput.vue index 586ecc8c..adbbb44e 100644 --- a/src/components/input/CronInput.vue +++ b/src/components/input/CronInput.vue @@ -11,7 +11,7 @@ const props = defineProps({ const emit = defineEmits(['update:modelValue']) -const currentCron = ref(props.cron) +const currentCron = ref(props.modelValue) watch(currentCron, newVal => { emit('update:modelValue', newVal)