Repository navigation
fix(examples): 修复轻量看板加载错误与环形图图例截断 - #555
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
💡 问题与解决方案
lightweight-dashboard.html加载 VSeed 的 CDN ESM 模块时,会引入被 CDN 拆分的 VChart 渲染依赖,导致applyAnimationState is not a function、文本图元未注册等运行时错误,页面无法完成加载。0.6.4,通过 import map 让 VSeed 的动画模块与页面复用官方 VChart2.1.7浏览器包。🤔 改动类型
🔗 相关 PR
#554
☑️ 验证
根目录
pnpm run format:check、pnpm run lint:check、pnpm run typecheck通过。本机 HTTP 预览验证 7/12/30 天切换、趋势提示、指标联动和区域明细;页面重新加载无控制台错误。
1280px 桌面和 390px 窄屏下,环形图两项图例均完整显示;点击图例不筛选数据。
接入教程的柱状图、普通表、透视表及地区筛选正常;网站首页和 VSeed Playground 冒烟验收通过。
修改范围仅为独立 HTML 和接入文档,未修改包源码;包生成、包测试和覆盖率不适用。
文档已更新
Demo 已更新
无需修改 TypeScript 类型
无需包发布或 changeset