<el-tree
v-show="active"
class="filter-tree"
:data="list"
node-key="id"
:props="defaultProps"
default-expand-all
show-checkbox
@check="(data,checkinfo)=>handleClick(data,checkinfo,value)"
:expand-on-click-node="false"
ref="tree"
>
重点: @check="(data,checkinfo)=>handleClick(data,checkinfo,value)"
value为自定义参数,
data和checkinfo为默认传递的参数