-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
removeCells()之后再addCell()添加的节点数据没有任何关系,报错getZIndex #3748
Labels
resolution: needs demos 需要复现
Issues that need minimal demos to reproduce any problems
Comments
Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. |
能否提供一个可以复现的 demo? |
NewByVector
added
the
resolution: needs demos 需要复现
Issues that need minimal demos to reproduce any problems
label
Jul 7, 2023
我下个星期抽个时间给你写个 |
看一下版本号,我映像中之前v1.x有出现过类似的问题。好像处理过 |
因为无法复现,暂时关闭。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
问题描述
Uncaught TypeError: Cannot read properties of null (reading 'getZIndex')
我在使用的过程中有这么一个场景,我需要删除一些节点然后再添加一些节点数据。
代码中
会出现下面的错误
重现链接
无
重现步骤
1、我把一些节点数据保存为json
2、我通过遍历我的数据,来修改这个json
3、再把这个json用parseJSON转成节点数组
4、我更新我自己的数据,来修改这个json,在修改中会删除原来的节点,根据新数据添加成新的节点。
5、接下来就出现了上面的错误。
预期行为
我期望删除和添加节点之后,不报错。
平台
屏幕截图或视频(可选)
No response
补充说明(可选)
No response
The text was updated successfully, but these errors were encountered: