瀏覽代碼

update 优化 登出之后清理tabs

疯狂的狮子Li 1 年之前
父節點
當前提交
de926211ef
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/layout/components/Navbar.vue

+ 1 - 0
src/layout/components/Navbar.vue

@@ -171,6 +171,7 @@ const logout = async () => {
         redirect: encodeURIComponent(router.currentRoute.value.fullPath || '/')
       }
     });
+    proxy?.$tab.closeAllPage();
   });
 };