const node = this.$refs.dept.getNode(节点的 key或 data)//获取节点
if (node&&!node.checked) { // 此处应判断当前节点的checked属性是否为true,是则不必半选
node.indeterminate = true
}
const node = this.$refs.dept.getNode(节点的 key或 data)//获取节点
if (node&&!node.checked) { // 此处应判断当前节点的checked属性是否为true,是则不必半选
node.indeterminate = true
}