Element-ui tree component, default-checked-keys, will check all the child nodes under the node, how to solve it?

The

cannot use the check-strictly attribute because the linkage still needs to be preserved.

An is the parent node B C D is the child node respectively. When Node B is checked, the data returned by the component is points An and B (associated)

when using this array to set the default selected state of the component"s default-checked-keys, all the B, C, D below An are selected

I would like to ask the big god how to deal with it, select only An and B


just pass key of the B node. Passing A means that it is checked. If A is checked, its child nodes must be all checked.

when you store a value, Filter is dropped if the status of the node is indeterminate , because it belongs to a node whose child elements are not all checked.


https://blog.csdn.net/jiangji.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1c2c305-33ad9.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1c2c305-33ad9.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?