lex-xin преди 4 години
родител
ревизия
78b21c12d1
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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();