配合 qiankun 使用, worker.onmessage 报错导致图表无法加载
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- typescript
- Domain
- data-visualization, frontend
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.
Description
使用 G6 dagre 图时, 单独运行正常, 作为子应用嵌入到 qiankun 中时, 会有报错, 大概定位到是 proxy sandbox
https://github.com/antvis/algorithm/blob/c5731a7601f39af9016a4ce26454de170bd9298d/packages/graph/src/workers/index.worker.ts#L11
- Dominant language
- TypeScript
- Stars
- 106
- Forks
- 23
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from antvis/algorithm
-
tslib 版本太低 Open
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
-
Difficulty 4/5 3-5 days Newbie friendliness 15/100
-
开发配置错误 Open
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
[build] 打包错误 Open
Difficulty 4/5 3-5 days Newbie friendliness 25/100
All issues in antvis/algorithm
Similar issues
-
clawsweeper:linked-pr-open clawsweeper:no-new-fix-pr clawsweeper:source-repro impact:message-loss issue-rating: 🦞 diamond lobster maturity:stable P2
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#616 ·
-
ZCode 3.14.3 に対応する Open
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
supermomonga/zcode-acp#24 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
growthbook/growthbook#7100 ·
-
triage
Difficulty 1/5 1-3 hours Newbie friendliness 88/100