release 1.0.2

This commit is contained in:
梁灏 2017-03-29 10:23:55 +08:00
parent ed65a3df43
commit 6281859fe5
3 changed files with 7 additions and 3 deletions

View file

@ -352,8 +352,11 @@
this.showClose = false;
},
handleIconClick () {
if (!this.showClose) return;
this.handleClear();
if (this.showClose) {
this.handleClear();
} else {
this.handleFocus();
}
},
handleClear () {
this.visible = false;