Skip to content

组件的深层props参数怎么使用呢? #36

Open
@duud666

Description

@duud666

props: {
width: createEditorInputProp({ label: '组件宽度', defaultValue: '100%' }),
height: createEditorInputProp({ label: '组件高度', defaultValue: '400' }),
'chartConfig.legend.show': createEditorSwitchProp({
label: '是否为展示图例',
defaultValue: true,
}),
'chartConfig.title.show': createEditorSwitchProp({
label: '是否为展示主标题',
defaultValue: true,
})
}
类似上面chartConfig.legend.show这种深层嵌套的。调试了下没有同步生效

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