diff --git a/src/components/FormModel.vue b/src/components/FormModel.vue index 007a1c5b4..496a5093d 100644 --- a/src/components/FormModel.vue +++ b/src/components/FormModel.vue @@ -106,7 +106,10 @@ onMounted(async () => { }); onBeforeRouteLeave((to, from, next) => { - if (!hasChanges.value) next(); + if (!hasChanges.value) { + next(); + return; + } quasar.dialog({ component: VnConfirm,