fix(components): [autocomplete] can not fetch suggestions after clear (#6847)

* fix(components): [autocomplete] can not fetch suggestions after clear

* style: define valuePresented constant
This commit is contained in:
bqy_fe
2022-03-29 15:48:50 +08:00
committed by GitHub
parent 58ca971e39
commit c05bc511a8
2 changed files with 11 additions and 1 deletions

View File

@ -7,6 +7,7 @@
<el-autocomplete
v-model="state1"
:fetch-suggestions="querySearch"
clearable
class="inline-input"
placeholder="Please Input"
@select="handleSelect"
@ -20,6 +21,7 @@
v-model="state2"
:fetch-suggestions="querySearch"
:trigger-on-focus="false"
clearable
class="inline-input"
placeholder="Please Input"
@select="handleSelect"