UPDATE: VERSION-20260327
This commit is contained in:
@@ -309,9 +309,18 @@ export default defineComponent({
|
||||
currentScenarioEditing.value = null !== currentScenario.value;
|
||||
});
|
||||
|
||||
handleGraphEvent('node:dblclick', () => {
|
||||
destroy()
|
||||
window.location.href = '/app/decision/designer'
|
||||
handleGraphEvent('node:dblclick', (args: any) => {
|
||||
const node = args.node as Node<NodeProperties>;
|
||||
const element = node.getData() as GraphTaskElement;
|
||||
console.error('element',element)
|
||||
if(element && element.platformId ){
|
||||
window.location.href = `/app/decision/designer?platform=${element.platformId}`
|
||||
} else {
|
||||
window.location.href = '/app/decision/designer'
|
||||
}
|
||||
|
||||
// destroy()
|
||||
// window.location.href = '/app/decision/designer'
|
||||
// router.push({
|
||||
// path: '/app/decision/designer'
|
||||
// })
|
||||
|
||||
Reference in New Issue
Block a user