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

This commit is contained in:
lapislazulisch 2023-08-23 16:03:19 +08:00
parent 3ae1952624
commit ad6ac7222c

View File

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