-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
不通过拖拽,直接修改元素的w导致布局错乱 #794
Comments
有解决办法吗 |
so do i |
直接修改w需要调用画布grid-layout组件的resizeEvent去重新布局,还需要调用updateLayouts方法去更新缓存布局对象中的位置信息 |
怎么写啊?用$refs获取组件实例然后调用resizeEvent和updateLayouts方法吗? |
我没有用npm包的形式,直接把源码当作组件放到项目里了。npm包的形式很多需求都做不了,不灵活 |
直接修改源码吧,我最后也是改源码才满足的需求 |
能看看你是怎么改的吗?参考一下 |
我把这个“直接改w”的需求砍了😂,直接说做不了。改源码是另外的需求。源码还行,不太难理解 |
你厉害,直接砍需求,解决不了问题就解决提出问题的人了是吧 |
有的产品就是逆天,啥功能都想要 |
不通过拖拽,直接修改元素的h,同样会导致布局错乱 |
有什么方案能够把实现在预览界面转换流式布局 |
Software version (please complete the following information):
Describe the bug
A clear and concise description of what the bug is.
Please use the CodeSandbox Template to demonstrate your bug. It is much easier for us to help you if you do.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: