Skip to content

[Bug Report]: TaskNodeFactory 的props 值为空时,报出xml格式不正确 #2125

Open
@4color

Description

@4color

发生了什么?

const props = {"value":""};
export const userTaskExtend = TaskNodeFactory('bpmn:userTask', icon,props)

导出xml变成了

  <bpmn:process isExecutable="true" id="Process_0d3c538">	
    <bpmn:userTask id="Activity_eaad833"	
      <-value /> width="100" height="80" />	
  </bpmn:process>	

logicflow/core版本

2.0.12

logicflow/extension版本

2.0.16

logicflow/engine版本

No response

浏览器&环境

Microsoft Edge

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions