diff --git a/src/views/layout/components/TagsView.vue b/src/views/layout/components/TagsView.vue index 86da61fd..2bb83b41 100644 --- a/src/views/layout/components/TagsView.vue +++ b/src/views/layout/components/TagsView.vue @@ -88,9 +88,10 @@ export default { }, refreshSelectedTag(view) { this.$store.dispatch('delCachedView', view).then(() => { - const { path } = this.$route + const { fullPath } = view + this.$router.replace({ - path: '/redirect' + path + path: '/redirect' + fullPath }) }) },