From e7bcd38124c11884c5b4bfc3044e3881467ae603 Mon Sep 17 00:00:00 2001 From: angela-1 Date: Sat, 14 Apr 2018 20:38:22 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=9E=E7=8E=B0Inputnumber=E5=9C=A8focus?= =?UTF-8?q?=E6=97=B6=E9=80=89=E4=B8=AD=E5=B7=B2=E6=9C=89=E5=80=BC=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/input-number/input-number.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/input-number/input-number.vue b/src/components/input-number/input-number.vue index 19005dce..bdd68dc1 100644 --- a/src/components/input-number/input-number.vue +++ b/src/components/input-number/input-number.vue @@ -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;