0
0
Fork 0

Fix form model beforeRouteLeave

This commit is contained in:
William Buezas 2024-04-04 13:27:50 -03:00
parent 1cff622898
commit 5ae54d557b
1 changed files with 4 additions and 1 deletions

View File

@ -106,7 +106,10 @@ onMounted(async () => {
});
onBeforeRouteLeave((to, from, next) => {
if (!hasChanges.value) next();
if (!hasChanges.value) {
next();
return;
}
quasar.dialog({
component: VnConfirm,