From 0b2d1dafe3361d5e475be7cb35ef9fe137c79e6f Mon Sep 17 00:00:00 2001 From: ray <1490493387@qq.com> Date: Fri, 18 Oct 2024 22:37:29 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20:recycle:=20=E7=A7=BB=E9=99=A4?= =?UTF-8?q?=E9=87=8D=E7=BD=AE=E8=B7=AF=E7=94=B1=E7=9A=84=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.ts | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/router/index.ts b/src/router/index.ts index a0ad4df2..d3871fbe 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -87,11 +87,4 @@ export function setupRouter(app: App) { app.use(router); } -/** - * 重置路由 - */ -export function resetRouter() { - router.replace({ path: "/login" }); -} - export default router;