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

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

Open
duud666 opened this issue Mar 8, 2024 · 1 comment
Open

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

duud666 opened this issue Mar 8, 2024 · 1 comment

Comments

@duud666
Copy link

duud666 commented Mar 8, 2024

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这种深层嵌套的。调试了下没有同步生效

@liaozhihao666
Copy link

liaozhihao666 commented Mar 8, 2024 via email

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

2 participants