mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-08-26 00:26:20 +08:00
fix(progress): fix progress sometimes cannot done (#388)
This commit is contained in:
@@ -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;
|
||||
});
|
||||
|
Reference in New Issue
Block a user