chore: 优化

This commit is contained in:
xiaojunnuo
2025-03-10 16:06:40 +08:00
parent 0c8a84656a
commit 0f5b9564c6
6 changed files with 43 additions and 59 deletions
@@ -48,6 +48,10 @@ function handleClick() {
if (props.disabled) {
return;
}
if (props.click) {
props.click();
return;
}
rootMenu?.handleMenuItemClick?.({
parentPaths: parentPaths.value,
path: props.path