Skip to content

Commit 6764f86

Browse files
YunaiVgitee-org
authored andcommitted
!409 fix(crontab): add inputChange for crontab
Merge pull request !409 from AhJindeg/hotfix-crontab
2 parents 427c2d5 + c2f9804 commit 6764f86

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/components/Crontab/src/Crontab.vue

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -503,9 +503,13 @@ const submit = () => {
503503
emit('update:modelValue', defaultValue.value)
504504
dialogVisible.value = false
505505
}
506+
507+
const inputChange = () => {
508+
emit('update:modelValue', defaultValue.value)
509+
}
506510
</script>
507511
<template>
508-
<el-input v-model="defaultValue" class="input-with-select" v-bind="$attrs">
512+
<el-input v-model="defaultValue" class="input-with-select" v-bind="$attrs" @input="inputChange">
509513
<template #append>
510514
<el-select v-model="select" placeholder="生成器" style="width: 115px">
511515
<el-option label="每分钟" value="0 * * * * ?" />

0 commit comments

Comments
 (0)