mirror of
https://github.com/soybeanjs/soybean-admin.git
synced 2025-11-13 12:13:43 +08:00
fix(components): 修复动态路由主页404
This commit is contained in:
@@ -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);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user