src/views/layout/components/Header/index.vue
@@ -130,8 +130,7 @@ cancelButtonText: '取消', type: 'warning' }).then(() => { sessionStorage.removeItem('token'); sessionStorage.removeItem('tokenHead'); sessionStorage.clear(); this.$router.push({ path: "/login" }) }).catch(err => { console.log(err); @@ -240,7 +239,7 @@ position: absolute; top: 60px; width: 120px; z-index: 3000; .user-card__item { padding: 5px 0; @@ -273,7 +272,7 @@ top: 60px; width: 180px; left: -50px; z-index: 3000; :deep(.el-card__body) { padding: 0; }