From eb82ea6252dba09289b7fa8c715e928b6dca824d Mon Sep 17 00:00:00 2001 From: dataeaseShu Date: Tue, 16 Jul 2024 14:16:09 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E7=A7=BB=E5=8A=A8=E7=AB=AF):=20=E7=A7=BB?= =?UTF-8?q?=E5=8A=A8=E7=AB=AF=E8=AE=BE=E7=BD=AE=E8=A7=86=E5=9B=BE=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE=E4=BA=86=E6=96=B0=E5=BC=80=E9=A1=B5=E9=9D=A2=E8=B7=B3?= =?UTF-8?q?=E8=BD=AC=EF=BC=8C=E7=82=B9=E5=87=BB=E8=BF=9B=E8=A1=8C=E8=B7=B3?= =?UTF-8?q?=E8=BD=AC=E6=97=B6=EF=BC=8C=E6=96=B0=E9=A1=B5=E9=9D=A2=E6=89=93?= =?UTF-8?q?=E4=B8=8D=E5=BC=80=EF=BC=8C=E8=AE=BE=E7=BD=AE=E4=B8=BA=E5=BD=93?= =?UTF-8?q?=E5=89=8D=E9=A1=B5=E9=9D=A2=E8=B7=B3=E8=BD=AC=E6=98=AF=E6=AD=A3?= =?UTF-8?q?=E5=B8=B8=E7=9A=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core-frontend/src/permissionMobile.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/core-frontend/src/permissionMobile.ts b/core/core-frontend/src/permissionMobile.ts index 416b1d6adf..ac883c3228 100644 --- a/core/core-frontend/src/permissionMobile.ts +++ b/core/core-frontend/src/permissionMobile.ts @@ -17,7 +17,7 @@ const { start, done } = useNProgress() const interactiveStore = interactiveStoreWithOut() const { loadStart, loadDone } = usePageLoading() -const whiteList = ['/login', '/panel', '/dvCanvas', '/DashboardEmpty'] // 不重定向白名单 +const whiteList = ['/login', '/panel', '/dvCanvas', '/DashboardEmpty', '/preview'] // 不重定向白名单 router.beforeEach(async (to, _, next) => { start()