From ff360e1a83a7774c90a77f2f35720751191841e8 Mon Sep 17 00:00:00 2001 From: lyt <1105290566@qq.com> Date: Mon, 8 Mar 2021 12:28:24 +0800 Subject: [PATCH] =?UTF-8?q?'admin-21.01.08:=E4=BF=AE=E5=A4=8D=E5=BC=80?= =?UTF-8?q?=E5=90=AFTagsView=E7=BC=93=E5=AD=98=E4=B8=8D=E7=94=9F=E6=95=88?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/layout/navBars/tagsView/tagsView.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/views/layout/navBars/tagsView/tagsView.vue b/src/views/layout/navBars/tagsView/tagsView.vue index cb75def5..a6a87954 100644 --- a/src/views/layout/navBars/tagsView/tagsView.vue +++ b/src/views/layout/navBars/tagsView/tagsView.vue @@ -84,7 +84,8 @@ export default { const getTagsViewRoutes = () => { state.routePath = route.path; state.tagsViewList = []; - removeSession("tagsViewList"); + if (!store.state.themeConfig.isCacheTagsView) + removeSession("tagsViewList"); state.tagsViewRoutesList = store.state.tagsViewRoutes; initTagsView(); };