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

【地图组件参数相关】个人建议搞一个默认的echarts的option #4

Closed
shadowings-zy opened this issue Jan 27, 2020 · 1 comment

Comments

@shadowings-zy
Copy link
Collaborator

我们可以搞一个默认的option,然后再使用Object.assign合并地图组件传进来的所有参数,这样就能优先使用传进来的参数,缺省就使用默认的参数了。

@tongshuangwu
Copy link
Collaborator

这样会要求frontend的小伙伴也至少懂一些echarts的api吧?我们需要允许这么高级的customization吗?

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