mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-12-21 04:50:14 +08:00
fixed(input): input component bug, the cursor moves to the end after deleting the text in the middle
This commit is contained in:
parent
8d6ad218eb
commit
329751b6d6
@ -353,7 +353,7 @@ export default {
|
||||
}
|
||||
e.target.value = value[index]
|
||||
value[index] = changedValue
|
||||
this.$emit('input', `value`)
|
||||
this.$emit('input', value)
|
||||
}
|
||||
},
|
||||
handleInputBlur (e) {
|
||||
|
Loading…
Reference in New Issue
Block a user