antvis / XFlow

React component for building interactive diagrams.
https://x6.antv.antgroup.com/xflow/guide/introduction
MIT License
564 stars 233 forks source link

XFlow 2.x Cannot read properties of null (reading 'hasOwnProperty') #439

Closed Ariel-Lau closed 7 months ago

Ariel-Lau commented 7 months ago

问题描述

XFlow 2.x:未使用 XFlow 的 store管理状态,自定义状态管理,节点更新时会报:Uncaught TypeError: Cannot read properties of null (reading 'hasOwnProperty') 错误

重现链接

-

重现步骤

不使用 XFlow 的 store 状态管理

预期行为

不报错

平台

屏幕截图或视频(可选)

No response

补充说明(可选)

No response

NewByVector commented 7 months ago

https://github.com/antvis/XFlow/pull/441