parent
2a50997a75
commit
4ea7e711ce
2 changed files with 7 additions and 1 deletions
|
@ -184,6 +184,12 @@ export default Vue.extend({
|
|||
}
|
||||
}
|
||||
});
|
||||
|
||||
this.$on('keydown', (e: KeyboardEvent) => {
|
||||
if (e.code == 'Enter') {
|
||||
this.$emit('enter');
|
||||
}
|
||||
});
|
||||
},
|
||||
methods: {
|
||||
focus() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue