From 7d52bd4852e1cfb466e3d00d714ddc372ae91471 Mon Sep 17 00:00:00 2001 From: tangjinzhou <415800467@qq.com> Date: Wed, 27 Dec 2017 16:46:45 +0800 Subject: [PATCH] fix --- components/input/Input.vue | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/components/input/Input.vue b/components/input/Input.vue index 5c27a5151..d8981684c 100644 --- a/components/input/Input.vue +++ b/components/input/Input.vue @@ -43,13 +43,11 @@ export default { const { value } = this.$props if (value === undefined) { this.stateValue = e.target.value - this.$emit('change.value', e.target.value) - this.$emit('change', e) } else { this.$forceUpdate() - this.$emit('change.value', e.target.value) - this.$emit('change', e) } + this.$emit('change.value', e.target.value) + this.$emit('change', e) }, focus () {