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
声明了一个自定义vue节点,按照http://x6.antv.antgroup.com/tutorial/intermediate/group#%E5%B1%95%E5%BC%80%E4%B8%8E%E6%8A%98%E5%8F%A0%E7%88%B6%E8%8A%82%E7%82%B9 的内容增加了节点大小变化的实时监听 出现了通过parent.prop修改size时,foreignObject标签没有自动同步更新大小的情况 但通过Transform插件改变节点大小后就能正常响应大小的自适应变化了,后续再更改prop也能正常改变大小,可能是vueshape内部有某些响应式的问题? 求解这是什么原因,或者有什么办法手动触发tranform插件的拖拽大小吗?
暂无
1.声明一个vue自定义节点 2.加入http://x6.antv.antgroup.com/tutorial/intermediate/group#%E5%B1%95%E5%BC%80%E4%B8%8E%E6%8A%98%E5%8F%A0%E7%88%B6%E8%8A%82%E7%82%B9中的代码 3.发现通过prop修改size时foreignObject标签没有同步发生变化
期望第一次修改prop.size时能够自适应改变foreignObject标签的长宽
No response
The text was updated successfully, but these errors were encountered:
能否提供一个可以复现的 demo?
Sorry, something went wrong.
因为无法复现你的问题,暂时关闭。
This thread has been automatically locked because it has not had recent activity.
Please open a new issue for related bugs and link to relevant comments in this thread.
No branches or pull requests
问题描述
声明了一个自定义vue节点,按照http://x6.antv.antgroup.com/tutorial/intermediate/group#%E5%B1%95%E5%BC%80%E4%B8%8E%E6%8A%98%E5%8F%A0%E7%88%B6%E8%8A%82%E7%82%B9 的内容增加了节点大小变化的实时监听
出现了通过parent.prop修改size时,foreignObject标签没有自动同步更新大小的情况
但通过Transform插件改变节点大小后就能正常响应大小的自适应变化了,后续再更改prop也能正常改变大小,可能是vueshape内部有某些响应式的问题?
求解这是什么原因,或者有什么办法手动触发tranform插件的拖拽大小吗?
重现链接
暂无
重现步骤
1.声明一个vue自定义节点
2.加入http://x6.antv.antgroup.com/tutorial/intermediate/group#%E5%B1%95%E5%BC%80%E4%B8%8E%E6%8A%98%E5%8F%A0%E7%88%B6%E8%8A%82%E7%82%B9中的代码
3.发现通过prop修改size时foreignObject标签没有同步发生变化
预期行为
期望第一次修改prop.size时能够自适应改变foreignObject标签的长宽
平台
屏幕截图或视频(可选)
No response
补充说明(可选)
No response
The text was updated successfully, but these errors were encountered: