Vue Element tree lable组合展示
<el-tree :data="typeList" ref="tree"
:props="{ label: fun_equTypeTreeLabel, children: 'children' }"
:expand-on-click-node="false" node-key="id"
highlight-current default-expand-all @node-click="handleNodeClick"
class="filter-tree" style="overflow-y: auto;max-height: 850px;"/>
函数
function fun_equTypeTreeLabel(node){
return `${node.name}(${node.kksCode})`;
}