|
@@ -6,7 +6,7 @@
|
|
|
class="tags-view-item"
|
|
|
:class="isActive(tag)?'active':''"
|
|
|
v-for="(tag,index) in Array.from(visitedViews)"
|
|
|
- :to="{path:tag.path,query:tag.query}"
|
|
|
+ :to="{path:tag.fullPath,query:tag.query,some:tag.path}"
|
|
|
:key="index"
|
|
|
@contextmenu.prevent.native="openMenu(tag,$event)">
|
|
|
{{generateTitle(tag.title)}}
|
|
@@ -90,7 +90,7 @@ export default {
|
|
|
const tags = this.$refs['tag']
|
|
|
this.$nextTick(() => {
|
|
|
for (const tag of tags) {
|
|
|
- if (tag.to === this.$route.path) {
|
|
|
+ if (tag.path === this.$route.path) {
|
|
|
this.$refs.scrollPane.moveToTarget(tag.$el)
|
|
|
break
|
|
|
}
|