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

[Bug Report] Checking tree nodes #9350

Closed ippei0605 closed 6 years ago

ippei0605 commented 6 years ago

Element UI version

2.0.11

OS/Browsers version

macOS High Sierra 10.13.2

Vue version

2.5.13

Reproduction Link

https://codepen.io/team/jiec_rd/pen/604428fed1d80a4c81d209189ce50902

Steps to reproduce

When Level tow 1-1 is checked, Level one 1 is automatically checked. I do not want Level one 1 to be checked.

Same here. http://element.eleme.io/#/en-US/component/tree Checking tree nodes

What is Expected?

I do not want Level one 1 to be checked.

What is actually happening?

When Level tow 1-1 is checked, Level one 1 is automatically checked.

neogn95 commented 6 years ago

Hi @ippei0605 .... This may not be an issue since, if root nodes have selection, then parent should also have selection, as per norm. But in your case, the other child are not selected. Instead of tick mark, it could be an indeterminate selection like below.

issue2

(PS: Newbie here. Correct me if i am wrong) issue1

ippei0605 commented 6 years ago

I misunderstood that it was possible to select a sub-node alone. Please close it. Thank you very much.

Best regards, Ippei

2018/01/19 1:41、ngopal1995 notifications@github.comのメール:

Hi @ippei0605 .... This may not be an issue since, if root nodes have selection, then parent should also have selection, as per norm. But in your case, the other child are not selected. Instead of tick mark, it could be an indeterminate selection like below.

(PS: Newbie here. Correct me if i am wrong)

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.