docs: 修复通过 2.0 官网图表示例的 '在 CodeSandbox 中打开', 错误的安装了 1.x 版本的问题 #2765
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
👀 PR includes
🔧 Chore
📝 Description
该配置在 dumi-theme-antv 的主题包中, 会透传给 CodeSandbox, Riddle 之类的, 默认指向 latest, 手动修改下配置, 安装 next 版本.
https://github.com/antvis/dumi-theme-antv/blob/5936407f5e50fb83f2461f2bc809ba8af1e2b3ff/src/slots/CodeEditor/Toolbar.tsx#L122-L145
🖼️ Screenshot
🔗 Related issue link
#2761
🔍 Self-Check before the merge