diff --git a/src/store/modules/route/index.ts b/src/store/modules/route/index.ts index f097c29e4..80db75f5e 100644 --- a/src/store/modules/route/index.ts +++ b/src/store/modules/route/index.ts @@ -120,7 +120,7 @@ export const useRouteStore = defineStore('route-store', { if (!error) { this.handleAuthRoute(sortRoutes(data.routes)); - // sadwhinpm + // home相关处理需要在最后,否则会出现找不到主页404的情况 this.routeHomeName = data.home; this.handleUpdateRootRedirect(data.home);