From 470bce490a64eb2b4c6a0eb59395b43db34ef713 Mon Sep 17 00:00:00 2001 From: Mr Xu <13931146495@163.com> Date: Sat, 13 Oct 2018 13:49:30 +0800 Subject: [PATCH] fix[tagsView]:fixed visited view move to currentTag --- src/views/layout/components/TagsView.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/layout/components/TagsView.vue b/src/views/layout/components/TagsView.vue index 6d878e6a..1890781f 100644 --- a/src/views/layout/components/TagsView.vue +++ b/src/views/layout/components/TagsView.vue @@ -75,7 +75,7 @@ export default { const tags = this.$refs.tag this.$nextTick(() => { for (const tag of tags) { - if (tag.to.path === this.$route.path) { + if (tag.to === this.$route.fullPath) { this.$refs.scrollPane.moveToTarget(tag.$el) // when query is different then update