This commit is contained in:
Lilian 2023-02-28 16:38:14 +01:00 committed by Kilton937342
parent 54e7aa6068
commit 6e62213224
1 changed files with 2 additions and 0 deletions

View File

@ -412,6 +412,7 @@
let fade = false;
beforeNavigate((n) => {
if(!n.from || !n.to) return;
console.log('NAVIGATION', n.to.url)
if (fade == false && !!n.to?.url) {
fade = true;
@ -427,6 +428,7 @@
}
});
afterNavigate((n) => {
if(!n.from || !n.to) return;
let oldParcoursId =
n.from?.url.searchParams.get("p") ||