mirror of
https://gitee.com/h_mo/uniapp-vue3-vite-ts-template
synced 2025-04-23 18:00:24 +08:00
style: remove console.log
This commit is contained in:
parent
e131ad73be
commit
095dfbbc6f
@ -28,7 +28,6 @@ function createBeforeEachGuard(router: Router) {
|
|||||||
|
|
||||||
function createAfterEachGuard(router: Router) {
|
function createAfterEachGuard(router: Router) {
|
||||||
router.afterEach((to) => {
|
router.afterEach((to) => {
|
||||||
console.log('afterEach', to);
|
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
if (to && to?.meta?.ignoreAuth) return;
|
if (to && to?.meta?.ignoreAuth) return;
|
||||||
const authStore = useAuthStore();
|
const authStore = useAuthStore();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user