mirror of
https://github.com/vbenjs/vben-admin-thin-next.git
synced 2025-01-24 10:33:47 +08:00
fix(progress): fix progress sometimes cannot done (#388)
This commit is contained in:
parent
b67cf22dfc
commit
8360b1d688
@ -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;
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user