riophae/vue-treeselect

一人多组织就会出现父类选不中的问题

1546553049 opened this issue · 0 comments

这个是数据
[{
"id": "310",
"label": "务厅",
"organId": null,
"organName": null,
"userId": null,
"children": [ {
"id": "965186707651344896",
"label": "厅二级巡视员",
"organId": null,
"organName": null,
"userId": null,
"children": [{
"id": "ljf100801",
"label": "测试部门同步编辑接口",
"organId": "965186707651344896",
"organName": "厅二级巡视员",
"userId": "ljf100801",
"children": null
}, {
"id": "yzxtest08",
"label": "1234511",
"organId": "965186707651344896",
"organName": "厅二级巡视员",
"userId": "yzxtest08",
"children": null
}]
}, {
"id": "4697",
"label": "财务处",
"organId": null,
"organName": null,
"userId": null,
"children": [{
"id": "ljf100801",
"label": "测试部门同步编辑接口",
"organId": "4697",
"organName": "财务处",
"userId": "ljf100801",
"children": null
}, {
"id": "ljf0817",
"label": "ljf0817",
"organId": "4697",
"organName": "财务处",
"userId": "ljf0817",
"children": null
}, {
"id": "LJFTEST",
"label": "LJFTEST",
"organId": "4697",
"organName": "财务处",
"userId": "LJFTEST",
"children": null
}, {
"id": "ljf2022",
"label": "ljf2022",
"organId": "4697",
"organName": "财务处",
"userId": "ljf2022",
"children": null
}, {
"id": "qwg",
"label": "qwg",
"organId": "4697",
"organName": "财务处",
"userId": "qwg",
"children": null
}, {
"id": "yzxtest08",
"label": "1234511",
"organId": "4697",
"organName": "财务处",
"userId": "yzxtest08",
"children": null
}]
}]
}]
如果下级组织,包含上级组织元素,上级组件就选不中