Sfoglia il codice sorgente

'恢复tags路径'

lin-xin 7 anni fa
parent
commit
367252196c
3 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  1. 1 1
      index.html
  2. 2 2
      src/components/common/Tags.vue
  3. BIN
      static/img/img.jpg

+ 1 - 1
index.html

@@ -4,7 +4,7 @@
     <meta charset="utf-8">
     <title>vue-manage-system | 基于Vue的后台管理系统</title>
     <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no">
-    <meta name="keywords" content="vue, vue-manage-system, manage-system, 后台, 管理系统, element" />
+    <meta name="keywords" content="vue, vue-manage-system, manage-system, 后台管理系统, element" />
     <meta name="description" content="基于Vue2 + Element UI 的后台管理系统解决方案" />
 </head>
 <body>

+ 2 - 2
src/components/common/Tags.vue

@@ -58,11 +58,11 @@
             // 设置标签
             setTags(route){
                 const isExist = this.tagsList.some(item => {
-                    return item.path === route.fullpath;
+                    return item.path === route.path;
                 })
                 !isExist && this.tagsList.push({
                     title: route.meta.title,
-                    path: route.fullpath
+                    path: route.path
                 })
             },
             handleTags(command){

BIN
static/img/img.jpg