Skip to content

Commit

Permalink
fix:动态路由首页404
Browse files Browse the repository at this point in the history
  • Loading branch information
lapislazulisch committed Aug 23, 2023
1 parent 94179ae commit 3db549a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/store/modules/route/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 3db549a

Please sign in to comment.