fix(components): 修复动态路由主页404
This commit is contained in:
parent
3db549af40
commit
3ae1952624
@ -120,6 +120,7 @@ export const useRouteStore = defineStore('route-store', {
|
|||||||
|
|
||||||
if (!error) {
|
if (!error) {
|
||||||
this.handleAuthRoute(sortRoutes(data.routes));
|
this.handleAuthRoute(sortRoutes(data.routes));
|
||||||
|
// sadwhinpm
|
||||||
this.routeHomeName = data.home;
|
this.routeHomeName = data.home;
|
||||||
this.handleUpdateRootRedirect(data.home);
|
this.handleUpdateRootRedirect(data.home);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user