debug: 添加时段编辑器调试日志
Coze-Commit-Type: user Coze-User-ID: 3722323274763196 Coze-Conversation-ID: 9894087
This commit is contained in:
BIN
assets/image_20260710150734278.png
Normal file
BIN
assets/image_20260710150734278.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 36 KiB |
@@ -1182,6 +1182,7 @@
|
|||||||
|
|
||||||
// 切换时段格子
|
// 切换时段格子
|
||||||
function toggleTimePeriodCell(hour, periodKey) {
|
function toggleTimePeriodCell(hour, periodKey) {
|
||||||
|
console.log('toggleTimePeriodCell called:', hour, periodKey);
|
||||||
// 检查该小时是否已被其他时段占用
|
// 检查该小时是否已被其他时段占用
|
||||||
const occupiedBy = Object.entries(timePeriodConfig).find(([k, v]) => k !== periodKey && v.includes(hour));
|
const occupiedBy = Object.entries(timePeriodConfig).find(([k, v]) => k !== periodKey && v.includes(hour));
|
||||||
|
|
||||||
@@ -1261,6 +1262,7 @@
|
|||||||
|
|
||||||
// 获取时段配置(保存时调用)
|
// 获取时段配置(保存时调用)
|
||||||
function getTimePeriodConfig() {
|
function getTimePeriodConfig() {
|
||||||
|
console.log('getTimePeriodConfig called, current config:', timePeriodConfig);
|
||||||
return { ...timePeriodConfig };
|
return { ...timePeriodConfig };
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user