mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-05-11 18:10:49 +08:00
更新 CronInput 组件,修改当前 CRON 值的绑定方式,以支持 v-model 绑定
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user