Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用这个库https://leovo2708.github.io/ngx-treeview/#/components。
但是,我要求如果选中任何子节点,则需要将父节点显示为选中状态。因此,我需要将其显示为已选中,而不是不确定状态。这可能吗?
如果选中复选框,则可以使用带有选中属性的树视图对象,然后将返回 true 或者将显示 false