From dba02e221a4d314b161b7809bc81362f4ea6d0d5 Mon Sep 17 00:00:00 2001 From: yuntian001 Date: Fri, 6 Jan 2023 13:02:24 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=20=E5=8A=A0=E8=BD=BD?= =?UTF-8?q?=E8=B7=AF=E7=94=B1=E7=BB=84=E4=BB=B6=E5=BC=82=E5=B8=B8=E5=90=8E?= =?UTF-8?q?=E5=88=87=E6=8D=A2=E8=B7=AF=E7=94=B1loading=E4=B8=8D=E5=85=B3?= =?UTF-8?q?=E9=97=ADbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/guard/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/router/guard/index.ts b/src/router/guard/index.ts index dd2d6874..f5ed2865 100644 --- a/src/router/guard/index.ts +++ b/src/router/guard/index.ts @@ -33,7 +33,7 @@ function createProgressGuard(router: Router) { router.beforeEach(async (to, from) => { remove(); start(to.matched.length); - closeLoading(false, from.matched.length, 'layout'); + closeLoading(true, from.matched.length, 'layout'); loading({}, to.matched.length, 'layout'); return true; });