HelKim
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
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; |
|
|
|
}); |
|
|
|
|