Browse Source

fix

pull/9/head
tangjinzhou 7 years ago
parent
commit
7d52bd4852
  1. 6
      components/input/Input.vue

6
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 () {

Loading…
Cancel
Save