diff --git a/src/fvcomponents/fvSearchForm/index.vue b/src/fvcomponents/fvSearchForm/index.vue index 2d873c7..304adbc 100644 --- a/src/fvcomponents/fvSearchForm/index.vue +++ b/src/fvcomponents/fvSearchForm/index.vue @@ -25,6 +25,7 @@ v-on="item.on || {}" v-model="form[item.prop]" @keyup.enter.native="getValues" + @change="elChange" > @@ -80,6 +81,12 @@ watchEffect(() => { } }) +const elChange = () => { + setTimeout(() => { + getValues() + }, 500) +} + const getValues = () => { emits('search', form.value) return form.value