<el-tree
ref="tree"
id="fixtree"
:props="defaultProps"
node-key="unifiedId"
:check-on-click-node="true"
:load="loadNode"
:filter-node-method="filterNode"
:check-strictly="true"
:default-checked-keys="peoples"
lazy
@check-change="getChecked">
<span class="custom-tree-node" slot-scope="{ data, node}">
<span v-if="data.type === false">
<img class="organization-img" src="../assets/images/zu.png" alt="">
<span>{{ data.name }}</span>
</span>
<span v-if="data.type === true">
<img v-if="data.name" class="organization-img" src="../assets/images/user.png" alt="">
<span>{{ data.name }}</span>
<span
v-if="node.checked && data.name"
class="el-icon-check SiteTree"
></span>
</span>
</span>
</el-tree>
defaultProps: {
label: 'name',
children: 'children',
disabled: 'choiceStatus', //判断禁用
isLeaf: 'hasChildren'
},

找不到问题所在那就另辟奚斤吧