From feebf68645a0c91e07c7eadeb04ae970001f1fc1 Mon Sep 17 00:00:00 2001 From: zhanghua <314079846@qq.com> Date: 星期一, 31 十月 2022 22:53:44 +0800 Subject: [PATCH] 单兵设备、音柱 --- src/views/layout/components/Header/index.vue | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/views/layout/components/Header/index.vue b/src/views/layout/components/Header/index.vue index 5498981..60dbf0b 100644 --- a/src/views/layout/components/Header/index.vue +++ b/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; } -- Gitblit v1.8.0