We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
自定义节点继承棱形节点、矩形节点时,initNodeData执行两次。以rect节点为例,initNodeData方法在BaseNodeModel和RectNodeModel的constructor里面均有调用,实际RectNodeModel的constructor里面只调用super即可,现在调用initNodeData会使得用户继承RectNodeModel时,执行两次initNodeData。同样的问题在其他形状节点、或其他方法调用如setAttributes等也有表现,期待统一处理。
2.0.6
2.0.10
No response
Chrome
The text was updated successfully, but these errors were encountered:
No branches or pull requests
发生了什么?
自定义节点继承棱形节点、矩形节点时,initNodeData执行两次。以rect节点为例,initNodeData方法在BaseNodeModel和RectNodeModel的constructor里面均有调用,实际RectNodeModel的constructor里面只调用super即可,现在调用initNodeData会使得用户继承RectNodeModel时,执行两次initNodeData。同样的问题在其他形状节点、或其他方法调用如setAttributes等也有表现,期待统一处理。
logicflow/core版本
2.0.6
logicflow/extension版本
2.0.10
logicflow/engine版本
No response
浏览器&环境
Chrome
The text was updated successfully, but these errors were encountered: