From ea892f49c79ef150c1018d6726c534b795c81e50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cwanyongkang=E2=80=9D?= <“937888580@qq.com”> Date: Sun, 30 Jul 2023 18:57:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E7=8E=B0=E5=8F=91=E9=80=81=E7=9F=AD?= =?UTF-8?q?=E4=BF=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/common/layout/header.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/common/layout/header.vue b/src/components/common/layout/header.vue index 4789ef1..3a89a62 100644 --- a/src/components/common/layout/header.vue +++ b/src/components/common/layout/header.vue @@ -39,6 +39,9 @@ export default { this.makeqrcode(url) }, logout () { + console.log(this.$local.getUserByCache().Manager.ID) + this.$api.get(this.$api.phpURL + 'api/Allow/logout?id='+this.$local.getUserByCache().Manager.ID).then(res => { + }) localStorage.clear() this.$router.replace('/login') },