Unverified Commit 8360b1d6 authored by HelKim's avatar HelKim Committed by GitHub

fix(progress): fix progress sometimes cannot done (#388)

parent b67cf22d
......@@ -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;
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment