feat: add emit in auto compelete

pull/50/head
Saeid 4 years ago
parent 7413c75af3
commit 3fb66d8331

@ -24,6 +24,7 @@ export default {
e.code !== "Enter" e.code !== "Enter"
) { ) {
cancelId = setTimeout(() => { cancelId = setTimeout(() => {
this.$emit('filter', e.target.value);
this.callback(e.target.value); this.callback(e.target.value);
}, 400); }, 400);
} }

Loading…
Cancel
Save