refactor: ♻️ 注销清空路由位置调整

Former-commit-id: e06d8f6551f15bf8bb7794501069844c7e769a3c
This commit is contained in:
郝先瑞
2023-05-11 07:48:39 +08:00
parent f93b5a8eaa
commit 6852678cff
2 changed files with 24 additions and 24 deletions

View File

@@ -114,7 +114,6 @@ const router = createRouter({
*/
export function resetRouter() {
router.replace({ path: "/login" });
location.reload();
}
export default router;