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