Closed jeff-nm closed 5 months ago
👋 @jeff-nm
Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it.
To help make it easier for us to investigate your issue, please follow the contributing guidelines.
We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.
更新到 2.0.4.
Describe the bug
使用 useGraphStore() 提供的 updateNode 方法更新节点数据,data 参数中含有 { value: undefined } 类似的属性值,出现错误; 报错信息如下:
Your Example Website or App
示例在步骤中提供
Steps to Reproduce the Bug or Issue
function apply(target: any, patchItem: any): any
方法;单独测试
apply
,出现**Uncaught SyntaxError: Unexpected token u in JSON at position 0**
apply({}, { data: undefined });