fix[tagsView]:fixed visited view move to currentTag
This commit is contained in:
parent
323408f8d9
commit
470bce490a
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue