去除用于debug的log输出
This commit is contained in:
1
main.js
1
main.js
@@ -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; // 周六和周日默认不是工作日
|
||||||
|
Reference in New Issue
Block a user