mirror of
https://github.com/fantastic-admin/basic.git
synced 2026-10-07 16:08:02 +08:00
优化菜单点击处理逻辑,增加对链接的判断
This commit is contained in:
@@ -112,6 +112,9 @@ function handleClick() {
|
||||
if (rootMenu.isMenuPopup && hasChildren.value) {
|
||||
return
|
||||
}
|
||||
if (props.menu.meta?.link) {
|
||||
return
|
||||
}
|
||||
if (hasChildren.value) {
|
||||
rootMenu.handleSubMenuClick(index, props.uniqueKey)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user