目标: 点击树形菜单选项获得数据 方法: <treedetail style="text-indent:6.5px;" :title="list.name" :list="list.children" :num='0' @click.native="deviceActive($event)"> </treedetail> 添加click点击事件属性