chore(input): change v-model eventname back to 'change'

Someone can't reproduce the bug that input shows [Object object]. So I will roll back it.
This commit is contained in:
07akioni 2019-07-08 16:25:02 +08:00
parent aa395ebe63
commit 93ee695c08
2 changed files with 2 additions and 3 deletions

View File

@ -65,7 +65,7 @@ export default {
},
model: {
prop: 'value',
event: 'changes'
event: 'change'
},
props: {
type: {
@ -107,7 +107,7 @@ export default {
},
methods: {
handleInput (e) {
this.$emit('changes', e.target.value)
this.$emit('change', e.target.value)
},
handleBlur (e) {
this.$emit('blur', e)

View File

@ -82,7 +82,6 @@
padding: 0 14px;
font-size: $large-input-font-size;
}
}
.n-input__input.n-input__input--round {
&.n-input__input--small-size {