linwenxin hai 1 ano
pai
achega
eaf81f2f80
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/layout/components/TagsView/index.vue

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

@@ -116,7 +116,7 @@ export default {
             ...(() => {
               if (pageName) {
                 return {
-                  title: `${meta.title}-${pageName}`
+                  title: pageName && pageName != "-" ? `${meta.title}-${pageName}` : meta.title
                 }
               }
               return {}