From 72077d1c284f8a7c99bb5f54f8822a7e114bd5cc Mon Sep 17 00:00:00 2001 From: zouzhibing Date: Mon, 30 May 2022 15:37:46 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9Ekeep-alive?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layout/index.vue | 1 - src/store/modules/tagsView.ts | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/layout/index.vue b/src/layout/index.vue index 6f5adee..e86286c 100644 --- a/src/layout/index.vue +++ b/src/layout/index.vue @@ -55,7 +55,6 @@ const mode = computed(()=>{ return store.state.setting.mode }) - console.log('mode============',mode) return{ isCollapse, device, diff --git a/src/store/modules/tagsView.ts b/src/store/modules/tagsView.ts index ccc1464..6ad4802 100644 --- a/src/store/modules/tagsView.ts +++ b/src/store/modules/tagsView.ts @@ -16,7 +16,7 @@ const mutations = { if (view.meta.keepAlive) { state.cachedViews.push(view.name) - console.log('======触发=======',state.cachedViews) + } }, REMOVE_VISITED_VIEW: (state, routes) => {