mirror of
https://github.com/jekip/naive-ui-admin.git
synced 2026-02-17 19:52:27 +08:00
支持 Vue 3.2.x 语法升级为,script setup
This commit is contained in:
@@ -41,6 +41,7 @@ export function generatorMenu(routerMap: Array<any>) {
|
||||
...info.meta,
|
||||
label: info.meta?.title,
|
||||
key: info.name,
|
||||
icon: isRoot ? item.meta?.icon : info.meta?.icon,
|
||||
};
|
||||
// 是否有子菜单,并递归处理
|
||||
if (info.children && info.children.length > 0) {
|
||||
|
||||
Reference in New Issue
Block a user