Skip to content
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

[Bug Report]: #1684

Closed
ILikeStudyOops opened this issue Jul 15, 2024 · 1 comment
Closed

[Bug Report]: #1684

ILikeStudyOops opened this issue Jul 15, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@ILikeStudyOops
Copy link

发生了什么?

代码直到今天早上都没有问题,在一次浏览器刷新后忽然出现了下面的问题,之后还原代码、重新安装依赖、更新最新版本都无法解决这个问题:
Uncaught runtime errors:
×
ERROR
Cannot read properties of undefined (reading 'anchors')
TypeError: Cannot read properties of undefined (reading 'anchors')
at getAnchors (webpack-internal:///./node_modules/@logicflow/core/es/util/node.js:46:22)
at BaseEdgeModel.getBeginAnchor (webpack-internal:///./node_modules/@logicflow/core/es/model/edge/BaseEdgeModel.js:253:74)
at BaseEdgeModel.setAnchors (webpack-internal:///./node_modules/@logicflow/core/es/model/edge/BaseEdgeModel.js:507:25)
at executeAction (webpack-internal:///./node_modules/mobx/lib/mobx.module.js:981:15)
at PolylineEdgeModel.setAnchors (webpack-internal:///./node_modules/mobx/lib/mobx.module.js:966:12)
at BaseEdgeModel.initEdgeData (webpack-internal:///./node_modules/@logicflow/core/es/model/edge/BaseEdgeModel.js:106:10)
at PolylineEdgeModel.initEdgeData (webpack-internal:///./node_modules/@logicflow/core/es/model/edge/PolylineEdgeModel.js:96:35)
at PolylineEdgeModel.BaseEdgeModel (webpack-internal:///./node_modules/@logicflow/core/es/model/edge/BaseEdgeModel.js:74:10)
at new PolylineEdgeModel (webpack-internal:///./node_modules/@logicflow/core/es/model/edge/PolylineEdgeModel.js:89:24)
at eval (webpack-internal:///./node_modules/@logicflow/core/es/model/GraphModel.js:395:16)
Snipaste_2024-07-15_11-18-20

logicflow/core版本

2.0.0-beta.3

logicflow/extension版本

2.0.0-beta.3

logicflow/engine版本

No response

浏览器&环境

Chrome

@ILikeStudyOops ILikeStudyOops added the bug Something isn't working label Jul 15, 2024
@boyongjiong
Copy link
Collaborator

描述无法定位问题,如有需要,请提供稳定可复现 demo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants