-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
发生了什么?
- 使用 dragNode 拖拽节点时传入,报错
node 节点数据结构:
{
id: 'Gateway_xxx',
type: 'bpmn:serviceTask',
properties: {
meta: {
title: '节点名称',
icon: 'serviceTask',
ouputColumnSegments: [{
className: 'ColumnSegment',
identifier: {
value: 'mahineCode',
},
name: '机器码',
owner: {
owner: 'xxx',
},
properties: {
className: 'xxxxx',
source: 'dataSource'
},
sqlType: {
className: 'BasicType',
family: 'character'
}
}]
},
config: {
name: '事件生成',
componentName: 'GenerateSecureEvent',
}
}
}
说明:
在 dragNode 传入节点时,如果是直接传入节点对象也不行,需要把多层结构结构出来;猜测原因是节点结构复杂,导致底层监听报错
操作流程:
- 拖拽创建节点 使用 startDrag 传入 properties (properties为多层对象结构)
2. 自定义节点挂载Vue组件,传入 properties
logicflow/core版本
2.0.7
logicflow/extension版本
2.0.11
logicflow/engine版本
No response
浏览器&环境
Chrome
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working