ElemeFE / ElemeFE/element

[Bug Report] reassign expand-row-keys would keep the previous expanded rows still expanded

Open
#18,913 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
Vue
Stars
54k
Forks
14.4k
PR merge metrics
No merged PRs in 30d

Description

### Element UI version
2.13.0

### OS/Browsers version
macOS 10.14.3 / chrome 版本 80.0.3987.132

### Vue version
3.0.0-alpha.7

### Reproduction Link
https://codepen.io/xiaobeizi/pen/RwPjbqK?editable=true

### Steps to reproduce
At first set the expand-row-keys to ['3'],after 3 seconds reassign the expand-row-keys to ['1']

### What is Expected?
only row['1'] is expanded

### What is actually happening?
both row['3'] and row['1'] are expanded

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.