Просмотр исходного кода

update 优化 登出之后清理tabs

疯狂的狮子Li 1 год назад
Родитель
Сommit
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 || '/')
         redirect: encodeURIComponent(router.currentRoute.value.fullPath || '/')
       }
       }
     });
     });
+    proxy?.$tab.closeAllPage();
   });
   });
 };
 };