配合 qiankun 使用, worker.onmessage 报错导致图表无法加载
Open
- Dominant language
- TypeScript
- Stars
- 105
- Forks
- 23
- PR merge metrics
- No merged PRs in 30d
Description
使用 G6 dagre 图时, 单独运行正常, 作为子应用嵌入到 qiankun 中时, 会有报错, 大概定位到是 proxy sandbox
https://github.com/antvis/algorithm/blob/c5731a7601f39af9016a4ce26454de170bd9298d/packages/graph/src/workers/index.worker.ts#L11

Contributor guide
No contributing guide indexed for this repository
Research direction
Start with packages/graph/src/workers/index.worker.ts at the linked line and reproduce the G6 dagre chart as a qiankun child application, comparing it with the standalone run and the reported screenshots. Trace the worker onmessage failure in the proxy sandbox; done means the embedded chart loads without that error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- data-visualization, frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100