实现Inputnumber在focus时选中已有值。
This commit is contained in:
parent
75abb3bb28
commit
e7bcd38124
1 changed files with 2 additions and 2 deletions
|
@ -250,9 +250,9 @@
|
|||
this.dispatch('FormItem', 'on-form-change', val);
|
||||
});
|
||||
},
|
||||
focus () {
|
||||
focus (event) {
|
||||
this.focused = true;
|
||||
this.$emit('on-focus');
|
||||
this.$emit('on-focus', event);
|
||||
},
|
||||
blur () {
|
||||
this.focused = false;
|
||||
|
|
Loading…
Add table
Reference in a new issue