diff --git a/assets/image_20260710150734278.png b/assets/image_20260710150734278.png new file mode 100644 index 0000000..3e69f74 Binary files /dev/null and b/assets/image_20260710150734278.png differ diff --git a/templates/index.html b/templates/index.html index 56ea92a..4564604 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1182,6 +1182,7 @@ // 切换时段格子 function toggleTimePeriodCell(hour, periodKey) { + console.log('toggleTimePeriodCell called:', hour, periodKey); // 检查该小时是否已被其他时段占用 const occupiedBy = Object.entries(timePeriodConfig).find(([k, v]) => k !== periodKey && v.includes(hour)); @@ -1261,6 +1262,7 @@ // 获取时段配置(保存时调用) function getTimePeriodConfig() { + console.log('getTimePeriodConfig called, current config:', timePeriodConfig); return { ...timePeriodConfig }; }