This commit is contained in:
lejianwen
2025-04-14 21:13:43 +08:00
parent 7129dccbbc
commit 83f25444ba
+3 -1
View File
@@ -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()
} }
} }