fix: add defensive checks to BudgetChartAnalysis chart data

- Added null checks for overallStats.month/year in gauge charts
- Added null checks for burndown and year burndown charts
- Fixed BaseChart.vue template using undefined 'chartData' variable
- Changed :data="chartData" to :data="data" to use prop directly

Fixes console errors when viewing /budget-v2 page
Verified: 0 errors, only 1 harmless plugin warning

Refs: openspec/changes/migrate-remaining-echarts-to-chartjs
This commit is contained in:
SunCheng
2026-02-16 22:04:10 +08:00
parent 9921cd5fdf
commit d1737f162d
7 changed files with 144 additions and 2 deletions

BIN
budget-page.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 81 KiB