diff --git a/src/router/index.js b/src/router/index.js index 8b4f4eb9..1700a50d 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -122,7 +122,7 @@ const router = createRouter({ } }); -router.beforeEach(async (to, from, next) => { +router.beforeEach(async (to, from) => { const fromQueryPage = from.query?.issPage; if (fromQueryPage === undefined) { showIssLoadingModal(true); @@ -135,7 +135,7 @@ router.beforeEach(async (to, from, next) => { return false; } - next(); + return true; }); router.afterEach(async (to, from) => {