Skip to content

二次开发导致menu item的key失效 #7199

@zzzgit

Description

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

Version

4.2.7

Environment

Reproduction link

Edit on CodeSandbox

Steps to reproduce

  1. 封装组建BMenuItem.vue
  2. 在demo中使用b-menu-item
  3. 点击一个菜单项,所有菜单的样式都变成selected状态
  4. 这说明menu-item的key失效了

What is expected?

image

我没有违背这些原则啊。。。

What is actually happening?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions