fix useFormInput watcher
This commit is contained in:
parent
54918354ea
commit
9d7b8d9f7f
|
@ -62,7 +62,9 @@ export function useFormInput (props, context, formPrefixKey = null) {
|
|||
watch(
|
||||
() => props.modelValue,
|
||||
(newValue) => {
|
||||
content.value = newValue
|
||||
if (content.value !== newValue){
|
||||
content.value = newValue
|
||||
}
|
||||
}
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue