value
2023-08-28 b1dd7463eebcd7e67f94244988ebbc3b9d29c1b7
src/layout/components/Navbar.vue
@@ -108,9 +108,11 @@
    async logout() {
      // await this.$store.dispatch('user/logout')
      sessionStorage.removeItem("user")
      localStorage.removeItem("autoenter");
      this.$router.push(`/login?redirect=${this.$route.fullPath}`)     
      this.$router.replace({path: '/login'});
      location.reload();
    },
      getUser(){
         get(this.$url.info).then(res=>{
@@ -130,15 +132,18 @@
  background: #fff;
  display: flex;
  border-bottom: 1px solid #f0f2f5;
  // box-shadow: 0 0 0.857143rem rgba(0, 0, 0, 0.12);
  // box-shadow: 0 1px 4px rgba(0,21,41,.08);
  .message-icon{
    margin-right: 10px;
    cursor: pointer;
  }
  .v-modal{
    z-index: 8;
  }
  .hamburger-container {
    line-height: 46px;
    height: 100%;
@@ -161,10 +166,12 @@
    line-height: 50px;
    display: flex;
    justify-content: right;
    .right-serves{
      height: 100%;
      display: flex;
      align-items: center;
      >i{
        display: inline-block;
        margin: auto 10px;
@@ -198,6 +205,7 @@
    .avatar-container {
      margin-right: 24px;
      height: 100%;
      .avatar-wrapper {
        // margin-top: 5px;
        width: 40px;
@@ -206,6 +214,7 @@
        display: flex;
        align-items: center;
        justify-content: center;
        .user-avatar {
          cursor: pointer;
          width: 30px;
@@ -229,5 +238,4 @@
      }
    }
  }
}
</style>
}</style>