Explorar o código

update 优化 登出之后清理tabs

疯狂的狮子Li hai 1 ano
pai
achega
de926211ef
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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();
   });
 };