fix(autocomplete): it's abount click clear button and the drop-down box does not appear

fix #21377,fix #19050, fix #18970
pull/21398/head
tomieric 2021-10-20 10:36:45 +08:00
parent ae71d7da1c
commit 557538837f
2 changed files with 2 additions and 0 deletions

View File

@ -549,6 +549,7 @@ export default {
v-model="state"
:fetch-suggestions="querySearchAsync"
placeholder="请输入内容"
clearable
@select="handleSelect"
></el-autocomplete>
<script>

View File

@ -195,6 +195,7 @@
this.suggestions = [];
return;
}
this.activated = true;
this.debouncedGetData(value);
},
handleChange(value) {