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();