ElemeFE / element

A Vue.js 2.0 UI Toolkit for Web
https://element.eleme.io/
MIT License
54.12k stars 14.64k forks source link

The [feature request] tree component can't satisfy the scenarios where the first level doesn't display the selection box, the second level single selection and the third level multi selection #19534

Open fwj722 opened 4 years ago

fwj722 commented 4 years ago

Existing Component

Component Name

tree

Description

如果有三级的树,我要让一级不显示选择框,二级单选,三级(即叶子节点)可以多选,但是三级的多选只能基于相同的父亲节点,如果是跨父亲节点多选的话,之前选择的数据要清掉,对于这样的场景,目前的tree组件无法满足

element-bot commented 4 years ago

Translation of this issue:

Existing Component

yes

Component Name

tree

Description

If there are three-level trees, I want the first level not to display the selection box. The second level is single choice, and the third level (i.e. leaf node) can be multiple choice. However, the third level can only be based on the same parent node. If there are multiple choices across the parent nodes, the previously selected data should be cleared. For such a scenario, the current tree component cannot meet the requirements

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.