|
|
@ -228,6 +228,10 @@ const getData=async () =>{ |
|
|
|
const today = new Date(); |
|
|
|
const year = today.getFullYear(); |
|
|
|
const month = today.getMonth(); // 注意:月份是从0开始的,0代表1月,11代表12月 |
|
|
|
dayData.value = await ReceivedCalendarApi.getMonthReceivedCalendar({ |
|
|
|
receivedNumber:'', |
|
|
|
calendarDate:year + '-' + (month + 1 >= 10 ? month + 1 : '0' +( month + 1)), |
|
|
|
}) |
|
|
|
await getDatesInCurrentMonth(year,month) |
|
|
|
} |
|
|
|
// 使用函数 |
|
|
|