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