<el-treeclass="filter-tree":data="treeData":props="defaultProps"default-expand-allhighlight-current:filter-node-method="filterNode"@node-click="handleNodeClick"v-loading="treeLoading"ref="tree"><span class="ellipsis-l1 font-size-14" :title="node.label" slot-scope="{node,data}" >{{node.label}}</span></el-tree>
根据自己的需求修改里面的东西即可