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 const { value } = this.$props
if (value === undefined) { if (value === undefined) {
this.stateValue = e.target.value this.stateValue = e.target.value
this.$emit('change.value', e.target.value)
this.$emit('change', e)
} else { } else {
this.$forceUpdate() 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 () { focus () {

Loading…
Cancel
Save