From 83a9291b4ae6ed90a41ca22d82718e3c5cd9f01e Mon Sep 17 00:00:00 2001 From: Pan Date: Fri, 15 Feb 2019 15:18:06 +0800 Subject: [PATCH] fix bug --- src/router/index.js | 2 +- src/views/layout/components/TagsView.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index d03d7336..53981029 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -86,7 +86,7 @@ export const constantRouterMap = [ path: 'index', component: () => import('@/views/documentation/index'), name: 'Documentation', - meta: { title: 'documentation', icon: 'documentation', noCache: true, affix: true } + meta: { title: 'documentation', icon: 'documentation', affix: true } } ] }, diff --git a/src/views/layout/components/TagsView.vue b/src/views/layout/components/TagsView.vue index c5881db8..e36b5a94 100644 --- a/src/views/layout/components/TagsView.vue +++ b/src/views/layout/components/TagsView.vue @@ -96,7 +96,7 @@ export default { for (const tag of affixTags) { // Must have tag name if (tag.name) { - this.$store.dispatch('addView', tag) + this.$store.dispatch('addVisitedView', tag) } } },