|
@@ -131,10 +131,13 @@
|
|
|
})
|
|
|
}
|
|
|
if (data.data.orgIdList) {
|
|
|
+ // console.log('orgIdList = ' + data.data.orgIdList)
|
|
|
data.data.orgIdList.forEach(i => {
|
|
|
const node = this.$refs.orgListData.getNode(i)
|
|
|
+ // console.log('i = ' + i)
|
|
|
+ // console.log('node.isLeaf = ' + node.isLeaf)
|
|
|
if (node.isLeaf) {
|
|
|
- this.$refs.orgListData.setChecked(node, true)
|
|
|
+ this.$refs.orgListData.setChecked(node, true, false)
|
|
|
}
|
|
|
})
|
|
|
}
|