实现Inputnumber在focus时选中已有值。

This commit is contained in:
angela-1 2018-04-14 20:38:22 +08:00
parent 75abb3bb28
commit e7bcd38124

View file

@ -250,9 +250,9 @@
this.dispatch('FormItem', 'on-form-change', val); this.dispatch('FormItem', 'on-form-change', val);
}); });
}, },
focus () { focus (event) {
this.focused = true; this.focused = true;
this.$emit('on-focus'); this.$emit('on-focus', event);
}, },
blur () { blur () {
this.focused = false; this.focused = false;