diff --git a/src/layout/components/TagsView/index.vue b/src/layout/components/TagsView/index.vue index 16c443a..f5b2989 100644 --- a/src/layout/components/TagsView/index.vue +++ b/src/layout/components/TagsView/index.vue @@ -5,7 +5,7 @@ v-for="tag in visitedViews" :key="tag.path" :data-path="tag.path" - :class="isActive(tag) ? 'active' : ''" + :class="{ active: isActive(tag) }" :to="{ path: tag.path, query: tag.query, fullPath: tag.fullPath }" class="tags-view-item" :style="activeStyle(tag)" @@ -19,7 +19,10 @@