提交 ae2754a5 编写于 作者: P Pan

fix[TagsView]: fixed visitedViews bug

Some strange bugs occur when the names of the routes are the same.
上级 6e07d18b
......@@ -2,10 +2,10 @@
<div class="tags-view-container">
<scroll-pane ref="scrollPane" class="tags-view-wrapper">
<router-link
v-for="tag in Array.from(visitedViews)"
v-for="tag in visitedViews"
ref="tag"
:class="isActive(tag)?'active':''"
:to="tag"
:to="tag.fullPath"
:key="tag.path"
tag="span"
class="tags-view-item"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册