Is it too mandatory for iview tree components to select parent nodes and child nodes?

  1. when you select a menu, only the parent menu is assigned, and no submenu is assigned. By default, CheckBox cannot achieve this effect
  2. .
  3. For more information on the logic of https://github.com/iview/ivie., please see
  4. here.
Apr.12,2021

I am also very confused about this problem. I now do permission management. I need to select the parent node and the middle node, but if the child node is canceled, the parent node will be canceled at the same time. That is to say, the parent node can not be selected independently. The selection of the parent node only means all selection


1. At present, we have also encountered some sub-node selection for iview tree components. Is there any good solution to the problem that the parent node cannot be selected?
2, as shown in the following figure


feel

Menu