Skip to content

Commit

Permalink
fix(components): 修复动态路由主页404
Browse files Browse the repository at this point in the history
  • Loading branch information
lapislazulisch committed Aug 23, 2023
1 parent 3db549a commit 3ae1952
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/store/modules/route/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ export const useRouteStore = defineStore('route-store', {

if (!error) {
this.handleAuthRoute(sortRoutes(data.routes));
// sadwhinpm
this.routeHomeName = data.home;
this.handleUpdateRootRedirect(data.home);

Expand Down

0 comments on commit 3ae1952

Please sign in to comment.