apache / echarts

Apache ECharts is a powerful, interactive charting and data visualization library for browser
https://echarts.apache.org
Apache License 2.0
60.69k stars 19.62k forks source link

[Feature] 在微前端 micro-app项目中,子项目window是proxy对象 #20528

Open zhanchangqiao opened 2 days ago

zhanchangqiao commented 2 days ago

What problem does this feature solve?

在微前端 micro-app项目中,子项目window是proxy对象 执行工具栏下载为图片功能时 image 就会导致如下错误 image 百度后得知 image 希望官方可不可以兼容一下

What does the proposed API look like?

官方可不可以在用之前判断一下,或者是提供一个配置项,让我们可以提供一个自定义的window对象。

echarts-bot[bot] commented 2 days ago

@zhanchangqiao It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people and get helped, we'd like to suggest using English next time. 🤗

TRANSLATED
**TITLE** [Feature] In a micro-frontend micro-app project, the sub-project window is a proxy object
zhanchangqiao commented 2 days ago

image 调试时自己修改一下window是可以正确下载的