mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-12-27 05:00:48 +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]
|
e.target.value = value[index]
|
||||||
value[index] = changedValue
|
value[index] = changedValue
|
||||||
this.$emit('input', `value`)
|
this.$emit('input', value)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
handleInputBlur (e) {
|
handleInputBlur (e) {
|
||||||
|
Loading…
Reference in New Issue
Block a user