!409 fix(crontab): add inputChange for crontab

Merge pull request !409 from AhJindeg/hotfix-crontab
This commit is contained in:
芋道源码 2024-03-30 07:55:47 +00:00 committed by Gitee
commit 6764f86980
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -503,9 +503,13 @@ const submit = () => {
emit('update:modelValue', defaultValue.value)
dialogVisible.value = false
}
const inputChange = () => {
emit('update:modelValue', defaultValue.value)
}
</script>
<template>
<el-input v-model="defaultValue" class="input-with-select" v-bind="$attrs">
<el-input v-model="defaultValue" class="input-with-select" v-bind="$attrs" @input="inputChange">
<template #append>
<el-select v-model="select" placeholder="生成器" style="width: 115px">
<el-option label="每分钟" value="0 * * * * ?" />