-feat 修复json格式问题

This commit is contained in:
2026-01-28 21:48:50 +08:00
parent e163fadd01
commit 303b4ed001
2 changed files with 161 additions and 160 deletions

View File

@@ -1,4 +1,3 @@
```typescript
import React, { useState, useEffect } from 'react'; import React, { useState, useEffect } from 'react';
import { Icon } from '@iconify/react'; import { Icon } from '@iconify/react';
import { formatCurrency } from '../../../utils/format'; import { formatCurrency } from '../../../utils/format';
@@ -141,4 +140,3 @@ export const DailyInsightCard: React.FC<DailyInsightCardProps> = ({
</div> </div>
); );
}; };
```

View File

@@ -289,6 +289,8 @@ Output Requirements:
// Here we choose to throw so fallback static text appears. // Here we choose to throw so fallback static text appears.
throw error; throw error;
} }
}
// Cache storage for daily insight // Cache storage for daily insight
let dailyInsightCache: { let dailyInsightCache: {
data: { spending: string; budget: string }; data: { spending: string; budget: string };
@@ -410,4 +412,5 @@ Task:
isConfirmationCardComplete, isConfirmationCardComplete,
formatConfirmationCard, formatConfirmationCard,
getFinancialAdvice, getFinancialAdvice,
getDailyInsight,
}; };