Browse Source

添加持久化标签页开关功能

RuoYi 2 months ago
parent
commit
8e484ae03e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/layout/components/TagsView/index.vue

+ 1 - 1
src/layout/components/TagsView/index.vue

@@ -208,7 +208,7 @@ function filterAffixTags(routes, basePath = '') {
 }
 
 function initTags() {
-  if (tagsViewPersist) {
+  if (tagsViewPersist.value) {
     useTagsViewStore().loadPersistedViews()
   }
   const res = filterAffixTags(routes.value)