Quellcode durchsuchen

修改去掉首页

lex-xin vor 4 Jahren
Ursprung
Commit
78b21c12d1
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      src/layout/components/Navbar.vue

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

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