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

如何把组件树(componentsTree)中的某children组件设置为根组件,从而渲染在大纲树顶端和画布最外部容器。。。 #66

Open
supersoulsoul opened this issue Sep 22, 2022 · 0 comments

Comments

@supersoulsoul
Copy link

image
image
步骤:
1、打开宜搭表单设计器,随便拖入表单元素
2、打开隐藏的schema面板查看schema 数据结构
3、发现用户设计的真实数据是包裹在 Page -> RootContent -> FormContainer -> children中
4、得出结论:大纲树中的顶端组件和画布最外层容器都是 FormContainer 组件 ,而低代码引擎demo中渲染的根节点是Page组件
期望:
1、基于低代码引擎和demo,实现如宜搭的表单设计器结构。即:可以将children中的组件渲染在大纲树顶端,成为画布最外层容器

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

1 participant