Skip to content

Collapse change 事件传入参数有误 #3158

@StoneMoe

Description

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

Version

1.7.2

Environment

macos, chrome latest, vue 2.6.11

Reproduction link

Edit on CodeSandbox

Steps to reproduce

See minimal reproduction

What is expected?

The key parameter of @change event handler should be the value of which panel user just click, not the whole activeKey(v-model) array.
And the documentation say so.

What is actually happening?

key == activeKey


No way to know what panel user just click currently.

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