|
@@ -12,8 +12,8 @@ export const myEvents = (graph,tempThis=null)=>{
|
|
|
|
|
|
graph.on('node:click',({node,e})=>{
|
|
|
if(!window.location.pathname.startsWith('/chartframe')) return
|
|
|
- console.log('node.data',node.data)
|
|
|
- if(node.data&&node.data.id){
|
|
|
+ //console.log('node.data',node.data)
|
|
|
+ if(node.data){
|
|
|
tempThis&&tempThis.$emit('showDialog',node.data)
|
|
|
}
|
|
|
})
|