未验证 提交 8360b1d6 编写于 作者: H HelKim 提交者: GitHub

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

上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册