diff --git a/src/router/index.ts b/src/router/index.ts index c470e93..51e7cd3 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -88,7 +88,6 @@ export function formatTwoStageRoutes(arr: any) { // 路由加载前 router.beforeEach(async (to, from) => { NProgress.configure({showSpinner: false}); - console.log('beforeEach-----', storesTagsViewRoutes.keepAliveNames, to.href); // 判断是否已经存在标签,不存在则设置缓存 if (!storesTagsViewRoutes.keepAliveNames.includes(decodeURIComponent(to.href))) { storesTagsViewRoutes.setCacheKeepAlivePath(to.href);