From 597c16793c64afd8346ce479ef0291de0730705d Mon Sep 17 00:00:00 2001 From: wangxia <779219182@qq.com> Date: Thu, 14 Mar 2024 10:45:19 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=80=E5=87=BA=E7=99=BB=E5=BD=95=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layout/m-header.vue | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/layout/m-header.vue b/src/layout/m-header.vue index 2b19147..b8bd515 100644 --- a/src/layout/m-header.vue +++ b/src/layout/m-header.vue @@ -120,8 +120,8 @@ const goNotice = () => { }; const setLogout = () => { commonJS.gConfirmModal("退出", "确定要退出登录吗?", () => { - logout() - .then(() => { + // logout() + // .then(() => { localStorage.removeItem("LOGIN_DATA"); localStorage.removeItem("daotian_to_admin_token"); localStorage.removeItem("DAOTIAN_token"); @@ -129,10 +129,10 @@ const setLogout = () => { localStorage.removeItem("DAOTIAN_userinfo_avatar"); localStorage.removeItem("DAOTIAN_userinfo_roleid"); commonJS.goWiondowOpenPage("login"); - }) - .catch((err) => { - console.log(err); - }); + // }) + // .catch((err) => { + // console.log(err); + // }); }); }; const dropShow = ref(false);