Commit Graph

10 Commits

Author SHA1 Message Date
3af7a0f805 fix(roi-editor):修复 ROI 编辑器中时间段选择器(TimePicker.RangePicker)因连续调用两次状态更新导致的清空问题。
Some checks failed
Python Test / test (push) Has been cancelled
- 新增 `updateWorkingHoursRange` 批量更新函数,将 start/end 作为原子操作同步更新
- 在 onChange 回调中添加 `Array.isArray(dates) && dates.length >= 2` 类型校验
- 避免 React 异步 setState 冲突导致 workingHoursList 意外重置
2026-01-22 17:26:28 +08:00
cb46d12cfa fix:修复因数据库缺少 working_hours 列导致 ROI 配置失败的问题。
- 手动执行 SQL:ALTER TABLE rois ADD COLUMN working_hours TEXT
- 确保现有 SQLite 数据库(security_monitor.db)结构与模型定义一致
- 避免因字段缺失引发 API 或算法读取异常
2026-01-22 16:44:26 +08:00
20634c2ad4 fix(dashboard): align camera status field with backend API response 2026-01-21 17:13:05 +08:00
294b0e1abb feat(alarm): add alarm snapshot viewing functionality 2026-01-21 15:16:25 +08:00
2c00b5afe3 生成新engine 2026-01-21 13:29:39 +08:00
e965b10603 配置修改 2026-01-21 13:29:00 +08:00
f9c7f9018e Merge remote-tracking branch 'origin/master'
# Conflicts:
#	frontend/src/main.tsx
2026-01-20 18:27:35 +08:00
7552cf86c3 ROI选区01 2026-01-20 18:26:49 +08:00
feba269e58 ROI选区01 2026-01-20 17:46:32 +08:00
f39f59be94 ROI选区01 2026-01-20 17:45:02 +08:00