project uses tree to display information, sometimes the user needs to select only one value, that is, radio selection.
the ui framework of iview is used in the project. If I only have to select a single node, checkbox can only choose one end node. How can I implement it?
I have thought about using a recursive method. It is feasible to disable all other checkbox, every time I click one checkbox, which is feasible if the amount of data is small, but my method is inefficient because of the large amount of data.
Is there any other way to harm? Friends.