fix[tagsView]:fixed visited view move to currentTag

This commit is contained in:
Mr Xu 2018-10-13 13:49:30 +08:00
parent 323408f8d9
commit 470bce490a
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ export default {
const tags = this.$refs.tag const tags = this.$refs.tag
this.$nextTick(() => { this.$nextTick(() => {
for (const tag of tags) { for (const tag of tags) {
if (tag.to.path === this.$route.path) { if (tag.to === this.$route.fullPath) {
this.$refs.scrollPane.moveToTarget(tag.$el) this.$refs.scrollPane.moveToTarget(tag.$el)
// when query is different then update // when query is different then update