update AutoComplete

This commit is contained in:
梁灏 2017-08-24 14:07:12 +08:00
parent 9cc6213ca4
commit b9541c05ca
2 changed files with 2 additions and 1 deletions

View file

@ -140,6 +140,7 @@
this.$refs.select.visible = false;
},
handleClear () {
if (!this.clearable) return;
this.currentValue = '';
this.$refs.select.model = '';
}