-
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
Dnd插件一定要clone吗 #4169
Comments
是的,需要 clone 一份的。 |
不知道这样理解是否偏差了。 我这里拖动的图形数据非常大,携带的data,如果json格式有时候几百K,所以drop的时候不是太想再clone一遍,目前已经通过其他方式处理了。 |
|
close了,api clone 只是默认行为,也支持自定义控制,已经处理了。 |
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. |
Describe the bug
dnd 一定要 clone 吗?
场景: 拖动前与拖动后的attr样式不一致,getDropNode 后需要修改 attrs
Your Example Website or App
null
Steps to Reproduce the Bug or Issue
null
Expected behavior
null
Screenshots or Videos
null
Platform
Additional context
null
The text was updated successfully, but these errors were encountered: