Fix form model feedback
This commit is contained in:
parent
c29586632c
commit
a5cbc55a7e
|
@ -97,9 +97,7 @@ const startFormWatcher = () => {
|
|||
watch(
|
||||
() => formData.value,
|
||||
(val) => {
|
||||
if (!isResetting.value && val) {
|
||||
hasChanges.value = true;
|
||||
}
|
||||
hasChanges.value = !isResetting.value && val;
|
||||
isResetting.value = false;
|
||||
},
|
||||
{ deep: true }
|
||||
|
|
Loading…
Reference in New Issue