style:
This commit is contained in:
+3
-1
@@ -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()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user