CN-1548 feat: 调整节点样式

This commit is contained in:
chenjinsong
2024-06-18 15:40:20 +08:00
parent e884b20882
commit 4b769e8cd6
4 changed files with 284 additions and 262 deletions

View File

@@ -176,6 +176,7 @@ export default {
node: {
deep: true,
handler (n) {
console.info(n)
this.handleDetailData(n)
}
}
@@ -269,6 +270,8 @@ export default {
return location || '-'
},
handleDetailData (node) {
console.info(node)
console.info(_.get(node, 'data.relatedEntities.ip.list', []))
const n = node
const type = _.get(n, 'data.entityType', '')
switch (type) {
@@ -432,6 +435,7 @@ export default {
]
}
}
console.info(this.relationList)
}
}
}