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