mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-03-01 13:36:55 +08:00
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:
parent
aa395ebe63
commit
93ee695c08
@ -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)
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user