♻️ 退出登录时候关闭所有标签页

This commit is contained in:
冷冷 2024-04-06 23:27:49 +08:00
parent 884e271104
commit f86d8ed3ba

View File

@ -166,6 +166,9 @@ const onHandleCommandClick = (path: string) => {
}, },
}) })
.then(async () => { .then(async () => {
//
mittBus.emit('onCurrentContextmenuClick', Object.assign({}, { contextMenuClickId: 3, ...router }));
// token
await logout(); await logout();
// /token // /token
Session.clear(); Session.clear();