diff --git a/src/components/mechanismTree/index.vue b/src/components/mechanismTree/index.vue index d295a0504..b45be5511 100644 --- a/src/components/mechanismTree/index.vue +++ b/src/components/mechanismTree/index.vue @@ -23,6 +23,7 @@ class="filter-tree tree-line" :data="treeData" :props="defaultProps" + :check-strictly="true" :current-node-key="nodeKeyId" node-key="id" :filter-node-method="filterNode" diff --git a/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue b/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue index 0517854dd..25c30ffee 100644 --- a/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue +++ b/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue @@ -5386,18 +5386,18 @@ export default { }, drawerCheckZRBM(data) { - console.log("data", data); + console.log("5389", data); let idList = '' let nameList = '' data.forEach(item => { - if (item.hasChild === '0') { + // if (item.hasChild === '0') { if (nameList.length > 0) { nameList += ',' idList += ',' } idList += item.id nameList += item.name - } + // } }) this.sarStandardsInfoEO.ZRBMId = idList;