Commit d86e54ec by 高源

11月15日dll版本

parent b1a95b3d
......@@ -226,7 +226,8 @@ function generateRoutes(data: any[]) {
};
if (item.children && item.children.length > 0) {
route.children = item.children.map(child => {
route.children = item.children.map(
(child: { Remark: string; Type: string; Kvid: any; DisplayName: any; Icon: any; SortId: any }) => {
const sanitizedRemark =
child.Remark && child.Remark.startsWith('/') ? child.Remark.replace(/^\//, '') : child.Remark;
return {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment