Sfoglia il codice sorgente

平台导航默认选中样式 优化

gzb
guozhongbo 7 mesi fa
parent
commit
f05b56d428
2 ha cambiato i file con 4 aggiunte e 4 eliminazioni
  1. 2
    2
      src/router/platform.js
  2. 2
    2
      src/views/platformSection/index.vue

+ 2
- 2
src/router/platform.js Vedi File

@@ -104,9 +104,9 @@ export default {
104 104
       }
105 105
     },
106 106
     {
107
-      path: "admin",
107
+      path: "adminLog",
108 108
       component: () => import("@/views/platformSection/log/admin.vue"),
109
-      name: "admin",
109
+      name: "adminLog",
110 110
       meta: {
111 111
         keepAlive: true,
112 112
         isAuth: true,

+ 2
- 2
src/views/platformSection/index.vue Vedi File

@@ -87,7 +87,7 @@
87 87
             <router-link
88 88
               @click.native="routeDropdownChange()"
89 89
               tag="div"
90
-              to="/platform/admin"
90
+              to="/platform/adminLog"
91 91
               class="drop_down_list_item"
92 92
               >管理员日志</router-link
93 93
             >
@@ -141,7 +141,7 @@ export default {
141 141
     // 日志路由选中
142 142
     logSelected() {
143 143
       return (
144
-        this.$route.path.includes("/platform/admin") ||
144
+        this.$route.path.includes("/platform/adminLog") ||
145 145
         this.$route.path.includes("/platform/logDeviceExport")
146 146
       );
147 147
     }

Loading…
Annulla
Salva