DJun

Results 12 comments of DJun

附上自带初始数据里面,排查到 开发工具-生成演示-生成演示列表,这个菜单在我这边点击进入也是产生同样的问题, 数据库中对应数据确实也是用了 component = `ParentLayout`。 如图所示: ![image](https://github.com/bufanyun/hotgo/assets/727447/57e00368-d354-4170-8ce1-6b43a934fa92) ![image](https://github.com/bufanyun/hotgo/assets/727447/191265a2-f0fe-4518-93f3-9931f6a3bcd7) ![image](https://github.com/bufanyun/hotgo/assets/727447/9bb55d18-bb3c-4ec4-b718-208ddf7e1002)

> 多级目录使用`ParentLayout`是对的,问题出在`component: undefined`。从你打印的位置来看是刚获取到菜单列表后`component`仅进行了一次转换,可以看看component是在哪里变成了undefined 您好,最近忙,来晚了,经过排查,在如图 `generator-routers.ts` 的这个位置开始出现了 `undefined`。 请协助解决,谢谢! ![image](https://github.com/bufanyun/hotgo/assets/727447/628f2c57-12d5-4711-8142-cddc5cb2401e)