diff --git a/src/pages/DashboardPage.tsx b/src/pages/DashboardPage.tsx index 4de833f..f05f034 100644 --- a/src/pages/DashboardPage.tsx +++ b/src/pages/DashboardPage.tsx @@ -58,7 +58,7 @@ export default function DashboardPage() { ID标题状态优先级类型 - {stats.recent_issues.map((i) => ( + {(stats.recent_issues || []).map((i) => ( #{i.id} {i.title}