LogicFlow
LogicFlow copied to clipboard
[Bug Report]: 使用lfJson2Xml方法报错
发生了什么?
const data = {
"nodes": [
{
"id": "03404123-174c-444d-96d0-340c44d5e359",
"type": "algorithmNode",
"x": 404,
"y": 172,
"properties": {
"bizId": "36031803078725",
"input": null, // 报错
"previousAllResult": {},
"status": " "
},
"text": {
"x": 404,
"y": 172,
"value": "DefinitionDNN"
}
}
]
}
const xml = lfJson2Xml(data)
含有null报错
logicflow/core版本
2.0.0
logicflow/extension版本
2.0.0
logicflow/engine版本
无
浏览器&环境
Firefox
该 issue 作为 Bug Report 所提供信息的不充分,被暂时关闭了。请修改 issue 以提供最小可复现示例(可以通过以下方式:1. 在任意在线编码平台如 codesanbox 编写示例。将其保存到自己空间,然后贴上链接。2. 在自己 github 中创建一个最简单的示例,然后贴上 github 链接。3. 删除项目中的 node_modules 部分,打包项目,并拖拽到 issue 输入框中上传(或提供远程可下载地址))来重启 issue。