mirror of
https://github.com/Tencent/tdesign-vue-next-starter.git
synced 2024-11-10 00:18:26 +08:00
chore: sync main to site
This commit is contained in:
parent
f122189e0e
commit
9cbb5765b6
|
@ -103,7 +103,7 @@ export function transformObjectToRoute<T = RouteItem>(routeList: RouteItem[]): T
|
|||
}
|
||||
// eslint-disable-next-line no-unused-expressions
|
||||
route.children && asyncImportRoute(route.children);
|
||||
if (route.meta.icon) route.meta.icon = (await getMenuIcon(route.meta.icon)).value;
|
||||
if (route.meta.icon) route.meta.icon = await getMenuIcon(route.meta.icon);
|
||||
});
|
||||
|
||||
return [PAGE_NOT_FOUND_ROUTE, ...routeList] as unknown as T[];
|
||||
|
|
Loading…
Reference in New Issue
Block a user