From 178fb48156255b729764271779fdc879f2f7c4cd Mon Sep 17 00:00:00 2001 From: jiangyy Date: Sat, 19 Mar 2022 15:35:13 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=87=E9=9B=86=E8=B7=AF=E7=94=B1=E7=89=B9?= =?UTF-8?q?=E6=AE=8A=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/router/index.js b/src/router/index.js index c8eb853e..2961eea4 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -170,6 +170,9 @@ const router = new Router({ router.beforeEach((to, from, next) => { // 添加动态(菜单)路由 // 已添加或者当前路由为页面路由, 可直接访问 + if(to.name==='caiji'){ + return next(); + } if ( window.SITE_CONFIG["dynamicMenuRoutesHasAdded"] || fnCurrentRouteIsPageRoute(to, pageRoutes)