Skip to content

preComponents有什么作用呢? #53

@changfuguo

Description

@changfuguo
 preComponents={[{
          gaeaKey: "antd-layout",
          components:[{
            name: 'ant-button',
            props: { text: '123' }
          },{
            name: 'ant-row',
            props: {  }
          }]
        }]}

如上面所示,在preComponents配置了下,只是在左边菜单去掉了ant-layout, 多出来两个row和button,然后拖拽进去的还是layout,不知道这个配置有啥用?

另外我有个需求是,比如antd的layout,我想通过配置把header 和sider footer content 展示出来,能否在layout的动态添加上这些挂件之后,把她们在layout内部搞成一个container呢?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions