!409 fix(crontab): add inputChange for crontab
Merge pull request !409 from AhJindeg/hotfix-crontab
This commit is contained in:
commit
6764f86980
@ -503,9 +503,13 @@ const submit = () => {
|
|||||||
emit('update:modelValue', defaultValue.value)
|
emit('update:modelValue', defaultValue.value)
|
||||||
dialogVisible.value = false
|
dialogVisible.value = false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const inputChange = () => {
|
||||||
|
emit('update:modelValue', defaultValue.value)
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
<template>
|
<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>
|
<template #append>
|
||||||
<el-select v-model="select" placeholder="生成器" style="width: 115px">
|
<el-select v-model="select" placeholder="生成器" style="width: 115px">
|
||||||
<el-option label="每分钟" value="0 * * * * ?" />
|
<el-option label="每分钟" value="0 * * * * ?" />
|
||||||
|
Loading…
Reference in New Issue
Block a user