'admin-21.01.08:修复开启TagsView缓存不生效的问题'

This commit is contained in:
lyt 2021-03-08 12:28:24 +08:00
parent 8597ee1655
commit ff360e1a83

View File

@ -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();
};