Explorar o código

更新header菜单

baiyanting hai 1 ano
pai
achega
98a0fda353
Modificáronse 1 ficheiros con 6 adicións e 6 borrados
  1. 6 6
      src/views/layout/Header.vue

+ 6 - 6
src/views/layout/Header.vue

@@ -176,11 +176,11 @@ export default {
         //   text: "综合报警",
         //   path: "",
         // });
-        currMenu.splice(5, 0, {
-          id: "fdfx",
-          text: "发电能力分析",
-          path: "",
-        });
+        // currMenu.splice(5, 0, {
+        //   id: "fdfx",
+        //   text: "发电能力分析",
+        //   path: "",
+        // });
         // currMenu.push();
         return currMenu;
       } else {
@@ -241,7 +241,7 @@ export default {
           userId: getCookie("userId"),
         }).then((res) => {
           this.$store.commit("user/REMOVE_TOKEN");
-           this.$store.commit("changeStationAll", []);
+          this.$store.commit("changeStationAll", []);
           this.$router.push("/login");
         });
       }