pull/9/head
tangjinzhou 2017-12-27 16:46:45 +08:00
parent 9f47ad14d7
commit 7d52bd4852
1 changed files with 2 additions and 4 deletions

View File

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