Pārlūkot izejas kodu

修改去掉首页

lex-xin 4 gadi atpakaļ
vecāks
revīzija
78b21c12d1
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      src/layout/components/Navbar.vue

+ 1 - 1
src/layout/components/Navbar.vue

@@ -177,7 +177,7 @@ export default {
     },
     async logout() {
       await this.$store.dispatch("user/logout");
-      localStorage.removeItem('firstMenu')
+      localStorage.removeItem('firstMenuUrl')
       // await this.$store.dispatch("permission/removePermission")
       this.$router.push(`/login`);
       window.location.reload();