What is the problem of check-box radio selection for iview components?

When the

project uses tree to display information, sometimes the user needs to select only one value, that is, radio selection.

clipboard.png

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.


doesn't he have an attribute: whether multiple, supports multiple selections?


Hello, how to solve this problem
I have encountered this problem now


written by myself
https://blog.csdn.net/u011384.

see for yourself!

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-1b2ba26-2ba93.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-1b2ba26-2ba93.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?