fix bug of AutoComplete that can not blur when click outside

fix bug of AutoComplete that can not blur when click outside
This commit is contained in:
mo.duan 2019-09-06 15:05:06 +08:00
parent 8a93e8b53e
commit 6b285b78ed
4 changed files with 9 additions and 2 deletions

View file

@ -544,6 +544,7 @@
event.preventDefault();
this.hideMenu();
this.isFocused = true;
this.$emit('on-clickoutside', event);
} else {
this.caretPosition = -1;
this.isFocused = false;