AutoComplete add @on-clear event, close #2426

This commit is contained in:
梁灏 2019-03-04 16:19:18 +08:00
parent f37a6d106b
commit bc0040d5fb

View file

@ -166,6 +166,7 @@
if (!this.clearable) return;
this.currentValue = '';
this.$refs.select.reset();
this.$emit('on-clear');
}
}
};