From e7288328a4fcf652794a202bc6199acedd3aa3b0 Mon Sep 17 00:00:00 2001 From: Pan Date: Fri, 31 Aug 2018 16:10:20 +0800 Subject: [PATCH] fix bug --- src/views/layout/components/TagsView.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 }) }) },