乐菲 4 ngày trước cách đây
mục cha
commit
8f63d21b09
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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,