去除用于debug的log输出

This commit is contained in:
2025-07-19 18:30:53 +08:00
parent ff26fd9e21
commit ef5d7d274d

View File

@@ -14642,7 +14642,6 @@
date = date.replace(/-/g, ''); date = date.replace(/-/g, '');
// 查找工作日列表中是否存在该日期 // 查找工作日列表中是否存在该日期
const foundItem = workDayList.find(item => String(item.date) === date); const foundItem = workDayList.find(item => String(item.date) === date);
console.log(`date: ${date}, weekday: ${weekday}, foundItem:`, foundItem);
if (!foundItem) { if (!foundItem) {
if (weekday === "周六" || weekday == "周日") { if (weekday === "周六" || weekday == "周日") {
return false; // 周六和周日默认不是工作日 return false; // 周六和周日默认不是工作日