|
@@ -127,7 +127,7 @@ const pageInit = async () => {
|
|
const res = await getAllRecordyMonth(1, `${yearStr.value}-${monthlyStr.value}`)
|
|
const res = await getAllRecordyMonth(1, `${yearStr.value}-${monthlyStr.value}`)
|
|
let _totalFee = 0
|
|
let _totalFee = 0
|
|
// 使用分组函数
|
|
// 使用分组函数
|
|
- const groupedData = groupByTime(res)
|
|
|
|
|
|
+ const groupedData = groupByTime(res.data)
|
|
const new_time_record_list = []
|
|
const new_time_record_list = []
|
|
Object.keys(groupedData).forEach((time) => {
|
|
Object.keys(groupedData).forEach((time) => {
|
|
new_time_record_list.push({
|
|
new_time_record_list.push({
|