diff --git a/src/router/guard/progressGuard.ts b/src/router/guard/progressGuard.ts index 9b3a4ce37612a7dcccc199c9bb410d8d568bccf7..f04048223f2873e48f96e9a5f43e79e76b53d703 100644 --- a/src/router/guard/progressGuard.ts +++ b/src/router/guard/progressGuard.ts @@ -15,8 +15,8 @@ export function createProgressGuard(router: Router) { return true; }); - router.afterEach(async (to) => { - if (to.meta.loaded) return true; + router.afterEach(async () => { + // if (to.meta.loaded) return true; unref(getOpenNProgress) && nProgress.done(); return true; });