From 3db549af40877efef15f542f8e50299f28f0b040 Mon Sep 17 00:00:00 2001 From: lapislazulisch <108389666+lapislazulisch@users.noreply.github.com> Date: Wed, 23 Aug 2023 15:41:40 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E5=8A=A8=E6=80=81=E8=B7=AF=E7=94=B1?= =?UTF-8?q?=E9=A6=96=E9=A1=B5404?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/store/modules/route/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/store/modules/route/index.ts b/src/store/modules/route/index.ts index d3b0e74c..7341ba1d 100644 --- a/src/store/modules/route/index.ts +++ b/src/store/modules/route/index.ts @@ -119,9 +119,9 @@ export const useRouteStore = defineStore('route-store', { const { error, data } = await fetchUserRoutes(userId); if (!error) { + this.handleAuthRoute(sortRoutes(data.routes)); this.routeHomeName = data.home; this.handleUpdateRootRedirect(data.home); - this.handleAuthRoute(sortRoutes(data.routes)); initHomeTab(data.home, router);