一、组件
<Tree :data="baseData" @on-select-change="checkBoxSel" show-checkbox></Tree>
二、方法
checkBoxSel(root, node){ console.log('---------------------------') console.log('---------------------------') console.log('---------------------------') console.log('---------------------------') console.log(root) console.log(node) console.log('---------------------------') console.log('---------------------------') console.log('---------------------------') }
三、效果
成功取到当前点击树节点信息
标签:node,console,log,---------------------------,select,组件,root,change,iView From: https://www.cnblogs.com/mangoubiubiu/p/17020146.html