乐菲 1 day ago
parent
commit
8f63d21b09
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/permission.js

+ 2 - 0
src/permission.js

@@ -68,6 +68,8 @@ function routerAction(to, from, next) {
           return;
         }
 
+        // 在重定向前结束当前的NProgress
+        NProgress.done();
         next({
           path: targetPath,
           query: queryParams,