소스 검색

修改去掉首页

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();