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

layout 组件在 “编辑区域“ 高度丢失,导致无法将其他组件拖拽到布局组件中 #9

Open
luguicheng opened this issue Dec 1, 2021 · 3 comments

Comments

@luguicheng
Copy link

查看 main-panel.js 文件,发现解析出来的 style 也没有使用
image

@sahadev
Copy link
Owner

sahadev commented Dec 1, 2021

无法拖入其它组件到布局组件中的问题可以先用组件结构检视图调整结构关系来解决。styles没有使用这个问题说来话长,后续会继续完善。

@luguicheng
Copy link
Author

luguicheng commented Dec 1, 2021

现在所有 .vue组件中定义在 <style></style> 中的样式在‘编辑区域’都没有生效,是因为main-panel.js 文件中没有处理 style 导致的吗?

解决这个问题有什么思路吗?

我google 好久,没有找到解决方案;虽然可以通过行内样式处理,但是生成的代码行内样式有点难看

@15136721807
Copy link

对于无法拖入其它组件到编辑区,就防抖监听下resize把浏览器的高度给到container就好了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants