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 | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/src/views/layout/components/Header/index.vue b/src/views/layout/components/Header/index.vue index 7570cb8..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); -- Gitblit v1.8.0