Skip to content

MENU Component's selectedKeys openKeys works in dev mode but not in build mode when menu data was loaded by ajax #2493

@sanpizi

Description

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

Version

undefined

Environment

chrome lastest/win 10/vue 2.6.11/ang-design-vue 1.6.2

Reproduction link

https://www.antdv.com/components/menu-cn/#API

Steps to reproduce

  1. ajax load data
  2. bind menu data
  3. set selectedKes value and openKeys value
  4. works well in dev mode but do not work in build mode

What is expected?

works well in build mode

What is actually happening?

not works well in build mode


ant-design-vue 1.6.2

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