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