feat(Sidebar): 添加 meta.id 菜单匹配逻辑

This commit is contained in:
chenxf 2026-01-23 14:40:47 +08:00
parent bff4c0f4db
commit 459134236b
1 changed files with 4 additions and 0 deletions

View File

@ -38,6 +38,10 @@ export default {
if (meta.activeMenu) {
return meta.activeMenu
}
// 使 meta.id 使 sysMenuId
if (meta.id) {
return meta.id
}
return path
},
showLogo() {