首页数据

master
lion 4 months ago
parent ae1ca8085c
commit 1b52a63164

@ -237,7 +237,9 @@
business_type_id: 88, business_type_id: 88,
area_id: 13 area_id: 13
}) })
const currentMonth = String(new Date().getMonth() + 1).padStart(2, '0'); const monthNum = (new Date()).getMonth()
const currentMonth = monthNum===0?'01':String(new Date().getMonth()).padStart(2, '0');
const currentMonthData = res.list[currentMonth] || []; const currentMonthData = res.list[currentMonth] || [];
currentMonthData.forEach(item => { currentMonthData.forEach(item => {
switch (item.name) { switch (item.name) {

Loading…
Cancel
Save