apache / apache/echarts

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

Open
#20,528 2 comments 0 reactions 0 assignees View on GitHub
new-feature pending
Dominant language
TypeScript
Stars
67.3k
Forks
19.8k
Avg merge
11d 14h
Merged PRs (30d)
8

Description

### What problem does this feature solve?

在微前端 micro-app项目中,子项目window是proxy对象
执行工具栏下载为图片功能时
![image](https://github.com/user-attachments/assets/aa120f09-b626-458c-af3f-ede9a9b08cf7)
就会导致如下错误
![image](https://github.com/user-attachments/assets/ee70225b-5933-451b-a49e-3684df123d17)
百度后得知
![image](https://github.com/user-attachments/assets/13f48e07-48ff-4e98-a52c-b377b0d99b9b)
希望官方可不可以兼容一下

### What does the proposed API look like?

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.