ElemeFE / ElemeFE/element

[bug report] Why does the tree control output data in the order of data rather than in the order of selection when selecting the check box. Can I support selective sequential output?

Open
#21,056 1 comment 0 reactions 0 assignees View on GitHub
component: tree status: discussion type: bug
Dominant language
Vue
Stars
54k
Forks
14.4k
PR merge metrics
No merged PRs in 30d

Description

### Element UI version
2.15.2

### OS/Browsers version
window10 / Google Chrome 91.0.4472.77

### Vue version
2.6.14

### Reproduction Link
https://codepen.io/pkxz/pen/bGqjjeP

### Steps to reproduce
勾选"三级 1-1-2",再勾选"三级 1-1-1",输出内容为"三级 1-1-1 三级 1-1-2"。

### What is Expected?
但是按照勾选顺序,应该输出为"三级 1-1-2 三级 1-1-1"

### What is actually happening?
实际输出内容为"三级 1-1-1 三级 1-1-2"

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.