修改拓扑图
This commit is contained in:
parent
e24ca3ef6a
commit
65e2f75b60
@ -250,9 +250,9 @@ onMounted(() => {
|
||||
graph.on('node:click', (row:any) => {
|
||||
|
||||
let node:any = row.node
|
||||
|
||||
nodeId.value = node.id
|
||||
if( node.store.data.shape == 'rect'){
|
||||
nodeId.value = node.id
|
||||
|
||||
styleInfo.value = {
|
||||
name: node.store.data.attrs.label.text,
|
||||
color: node.store.data.attrs.body.stroke,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user