mirror of
https://github.com/element-plus/element-plus.git
synced 2025-08-17 13:01:46 +08:00
fix(components): [input] formatted values are out of sync (#9501)
Co-authored-by: RealityBoy <1923740402@qq.com>
This commit is contained in:
@ -386,7 +386,10 @@ const handleInput = async (event: Event) => {
|
||||
|
||||
// hack for https://github.com/ElemeFE/element/issues/8548
|
||||
// should remove the following line when we don't support IE
|
||||
if (value === nativeInputValue.value) return
|
||||
if (value === nativeInputValue.value) {
|
||||
setNativeInputValue()
|
||||
return
|
||||
}
|
||||
|
||||
emit(UPDATE_MODEL_EVENT, value)
|
||||
emit('input', value)
|
||||
|
Reference in New Issue
Block a user