trend API 返回 { issueId, points: [...] },前端误以为是数组直接调用 .map()
导致 TypeError 被 catch 静默吞掉,图表从不渲染。
修复:正确读取 res.data.data.points,并更新类型定义。
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
||
|---|---|---|
| .. | ||
| public | ||
| src | ||
| auto-imports.d.ts | ||
| CLAUDE.md | ||
| components.d.ts | ||
| index.html | ||
| package.json | ||
| tsconfig.app.json | ||
| tsconfig.json | ||
| tsconfig.node.json | ||
| vite.config.d.ts | ||
| vite.config.ts | ||