Commit 0e1341d8 by 胡悦

修复

1 parent b380bd4a
......@@ -625,8 +625,15 @@ export default {
if (i.relType == 2) {
const _parent = this.brandTreeData.find(j => j.id == i.relBusinessId)
console.log(_parent,'=Z_')
if (_parent) checkList.push(_parent)
if (_parent.children) checkList = checkList.concat(_parent.children)
if (_parent) {
checkList.push(_parent)
if (_parent.children) checkList = checkList.concat(_parent.children)
} else {
checkList.push({
label: i.relItemName,
id: i.relBusinessId
})
}
} else {
checkList.push({
label: i.relItemName,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!