Update SimpleMenu.vue

菜单动态参数支持
pull/8725/head
dreamcc 2025-08-18 13:12:49 +08:00 committed by GitHub
parent 6ace7eae8a
commit b45f059948
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 1 deletions

View File

@ -152,7 +152,9 @@
if (!flag) return;
}
emit('menuClick', key);
// query
const menuItem = getMatchingMenu(props.items, key);
emit('menuClick', key, menuItem);
isClickGo.value = true;
setOpenKeys(key);