How to implement Radio selection of Tree component tree in elementUI

We now need to use the tree component and add a checkbox to it, like this

clipboard.png
but elementUI only has a check box for the tree component, not an api for the checkbox. There"s no way to start now.

tree of elementUI used

<el-tree
     :data="data2"
     show-checkbox
     default-expand-all
     node-key="id"
     ref="tree"
     highlight-current
     :props="defaultProps">
   </el-tree>

this kind of typesetting, using the elementUI component-it is better to write one by yourself so that the


node content can be customized. For more information, please see: http://element-cn.eleme.io/-sharp/. will have an example of customizing node content

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