Skip to content

The key value of the menu component click event callback is abnormal #4154

@sxxsc555

Description

@sxxsc555
  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

2.1.1

Environment

vue3 vite2.1.5

Reproduction link

https://vuecomponent.github.io/issue-helper

Steps to reproduce

<a-menu
mode="inline"
class="Sidebar-menu"
:inline-collapsed="collapsed"
:selectedKeys="[route.path]"
:openKeys="openKeys"
@click="menuItemClick"
@openchange="onOpenChange"

{{ resolvePath(onlyOneChild.path) }} {{ resolvePath(item.path) }}





What is expected?

menu组件click事件回调的key值异常

What is actually happening?

menu组件click事件回调的key值异常


menu组件click事件回调的key值异常

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions