diff --git a/src/layout/components/TagsView/index.vue b/src/layout/components/TagsView/index.vue index c89ae88..21b0fd4 100644 --- a/src/layout/components/TagsView/index.vue +++ b/src/layout/components/TagsView/index.vue @@ -38,56 +38,29 @@ - - - - - - + + + 刷新 @@ -285,6 +258,7 @@ function handleDropdownCommand(command) { selectedTag.value = tag switch (command) { case 'refresh': refreshSelectedTag(tag); break + case 'fullscreen': toggleFullscreen(); break case 'close': closeSelectedTag(tag); break case 'closeOthers': closeOthersTags(); break case 'closeLeft': closeLeftTags(); break @@ -431,6 +405,7 @@ function handleScroll() { padding: 0 8px; font-size: 12px; margin-left: 5px; + border-radius: 3px; &:first-of-type { margin-left: 6px; } &:last-of-type { margin-right: 15px; } @@ -483,8 +458,8 @@ function handleScroll() { } } - .tags-fullscreen-btn { - border-left: $divider; + .tags-refresh-btn { + width: 60px; } .contextmenu { diff --git a/src/store/modules/tagsView.js b/src/store/modules/tagsView.js index 9ea96d9..cf72517 100644 --- a/src/store/modules/tagsView.js +++ b/src/store/modules/tagsView.js @@ -129,7 +129,6 @@ const useTagsViewStore = defineStore( } else { this.cachedViews = [] } - saveVisitedViews(this.visitedViews) resolve([...this.cachedViews]) }) },