Cette révision appartient à :
lejianwen committed 2025-04-14 21:13:43 +08:00
1 Parent 7129dccbbc
révision 83f25444ba
1 file changed
+3 -1
+3 -1
Voir le fichier
@@ -41,7 +41,9 @@ router.beforeEach(async (to, from, next) => {
} else { } else {
next({ ...to, replace: true }) next({ ...to, replace: true })
} }
} else { }/* else if (to.path === '/404') {
next({path: to.redirectedFrom?.fullPath, replace: true})
}*/ else {
next() next()
} }
} }