fix(components): 修复动态路由主页404

This commit is contained in:
lapislazulisch 2023-08-23 16:00:17 +08:00
parent 3db549af40
commit 3ae1952624

View File

@ -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);