From 9023b65fb4bcae10445a03c55fab3b820da89876 Mon Sep 17 00:00:00 2001 From: dataeaseShu Date: Wed, 27 Dec 2023 18:02:15 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=B3=BB=E7=BB=9F=E7=AE=A1=E7=90=86-?= =?UTF-8?q?=E4=BB=BB=E5=8A=A1=E7=AE=A1=E7=90=86-=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E5=90=8C=E6=AD=A5=EF=BC=8C=E7=82=B9=E5=87=BB=E2=80=9C=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E4=BB=BB=E5=8A=A1=E2=80=9D=E5=90=8E=EF=BC=8C=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E5=B7=A6=E4=BE=A7=E5=AF=BC=E8=88=AA=E6=A0=8F=E8=87=AA?= =?UTF-8?q?=E5=8A=A8=E6=B6=88=E5=A4=B1=20#7373?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/frontend/src/permission.js | 1 + 1 file changed, 1 insertion(+) diff --git a/core/frontend/src/permission.js b/core/frontend/src/permission.js index f8a47ac745..88a68c7431 100644 --- a/core/frontend/src/permission.js +++ b/core/frontend/src/permission.js @@ -92,6 +92,7 @@ router.beforeEach(async(to, from, next) => routeBefore(() => { const hasGetUserInfo = store.getters.name if (hasGetUserInfo || to.path.indexOf('/previewScreenShot/') > -1 || to.path.indexOf('/preview/') > -1 || to.path.indexOf('/delink') > -1 || to.path.indexOf('/nolic') > -1) { next() + if (to.path.indexOf('/task-ds-form') > -1) return store.dispatch('permission/setCurrentPath', to.path) let route = store.getters.permission_routes.find( item => item.path === '/' + to.path.split('/')[1]