From f86d8ed3baf525fb534760a3c039a8e54ab55746 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=86=B7=E5=86=B7?= <2270033969@qq.com> Date: Sat, 6 Apr 2024 23:27:49 +0800 Subject: [PATCH] =?UTF-8?q?:recycle:=20=E9=80=80=E5=87=BA=E7=99=BB?= =?UTF-8?q?=E5=BD=95=E6=97=B6=E5=80=99=E5=85=B3=E9=97=AD=E6=89=80=E6=9C=89?= =?UTF-8?q?=E6=A0=87=E7=AD=BE=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layout/navBars/breadcrumb/user.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/layout/navBars/breadcrumb/user.vue b/src/layout/navBars/breadcrumb/user.vue index 5cf54d58..5b6b681a 100644 --- a/src/layout/navBars/breadcrumb/user.vue +++ b/src/layout/navBars/breadcrumb/user.vue @@ -166,6 +166,9 @@ const onHandleCommandClick = (path: string) => { }, }) .then(async () => { + // 关闭全部的标签页 + mittBus.emit('onCurrentContextmenuClick', Object.assign({}, { contextMenuClickId: 3, ...router })); + // 调用注销token接口 await logout(); // 清除缓存/token等 Session.clear();