@@ -134,14 +134,14 @@ python3 scripts/generate_diagnosis_react_html.py \
134134
135135** API 能力分类** :
136136
137- | 能力类型 | 典型需求 | API 文档 |
138- | --------- | ---------| ---------|
139- | 事件监听 | 点击响应、hover 效果 | ` references/api/event-api.md ` |
140- | 数据操作 | 动态更新、实时刷新 | ` references/api/data-api.md ` |
141- | 状态管理 | 高亮、选中 | ` references/api/state-api.md ` |
142- | 交互控制 | 手动触发 tooltip | ` references/api/interaction-api.md ` |
143- | 导出功能 | 下载图片 | ` references/api/export-api.md ` |
144- | 主题切换 | 深色模式 | ` references/api/theme-api.md ` |
137+ | 能力类型 | 典型需求 | API 文档 |
138+ | -------- | -------------------- | ----------------------------------- |
139+ | 事件监听 | 点击响应、hover 效果 | ` references/api/event-api.md ` |
140+ | 数据操作 | 动态更新、实时刷新 | ` references/api/data-api.md ` |
141+ | 状态管理 | 高亮、选中 | ` references/api/state-api.md ` |
142+ | 交互控制 | 手动触发 tooltip | ` references/api/interaction-api.md ` |
143+ | 导出功能 | 下载图片 | ` references/api/export-api.md ` |
144+ | 主题切换 | 深色模式 | ` references/api/theme-api.md ` |
145145
146146---
147147
@@ -163,13 +163,13 @@ python3 scripts/generate_diagnosis_react_html.py \
163163
164164** 在当前场景中检测到 API 需求时,不切换场景,而是增强输出** :
165165
166- | 当前场景 | 检测到 API 需求 | 增强动作 |
167- | -------- | ------------------- | ---- -------------------------- |
168- | 场景2 | "点击后获取数据" | 输出 Spec + 事件监听代码 |
169- | 场景2 | "动态更新数据" | 输出 Spec + 数据更新函数 |
170- | 场景3 | "联动高亮" | 输出 Spec + 状态管理代码 |
171- | 场景3 | "导出图片" | 输出 Spec + 导出按钮和函数 |
172- | 场景1 | API 代码报错 | 同时诊断 Spec 和 API 代码 |
166+ | 当前场景 | 检测到 API 需求 | 增强动作 |
167+ | -------- | ---------------- | -------------------------- |
168+ | 场景2 | "点击后获取数据" | 输出 Spec + 事件监听代码 |
169+ | 场景2 | "动态更新数据" | 输出 Spec + 数据更新函数 |
170+ | 场景3 | "联动高亮" | 输出 Spec + 状态管理代码 |
171+ | 场景3 | "导出图片" | 输出 Spec + 导出按钮和函数 |
172+ | 场景1 | API 代码报错 | 同时诊断 Spec 和 API 代码 |
173173
174174#### 切换要点
175175
@@ -262,18 +262,18 @@ python3 scripts/generate_diagnosis_react_html.py \
262262
263263** 快速索引** :` references/api/API_INDEX.md `
264264
265- | 用户需求 | 查询文档 |
266- | ---------------- | --- ----------------------------------- |
267- | 更新图表数据 | ` references/api/data-api.md ` |
268- | 响应点击/hover | ` references/api/event-api.md ` |
269- | 高亮/选中图元 | ` references/api/state-api.md ` |
270- | 手动触发tooltip | ` references/api/interaction-api.md ` |
271- | 切换主题 | ` references/api/theme-api.md ` |
272- | 导出图片 | ` references/api/export-api.md ` |
273- | 控制动画 | ` references/api/animation-api.md ` |
274- | 坐标位置转换 | ` references/api/coordinate-api.md ` |
275- | 控制图例 | ` references/api/legend-api.md ` |
276- | 调整尺寸 | ` references/api/layout-api.md ` |
265+ | 用户需求 | 查询文档 |
266+ | --------------- | ----------------------------------- |
267+ | 更新图表数据 | ` references/api/data-api.md ` |
268+ | 响应点击/hover | ` references/api/event-api.md ` |
269+ | 高亮/选中图元 | ` references/api/state-api.md ` |
270+ | 手动触发tooltip | ` references/api/interaction-api.md ` |
271+ | 切换主题 | ` references/api/theme-api.md ` |
272+ | 导出图片 | ` references/api/export-api.md ` |
273+ | 控制动画 | ` references/api/animation-api.md ` |
274+ | 坐标位置转换 | ` references/api/coordinate-api.md ` |
275+ | 控制图例 | ` references/api/legend-api.md ` |
276+ | 调整尺寸 | ` references/api/layout-api.md ` |
277277
278278** API 查询流程** :
279279
0 commit comments