feat 直播后重新刷新列表

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
Ironsp
2026-06-01 17:37:47 +08:00
parent e05b524c39
commit f10c5bd4ea
2 changed files with 17 additions and 0 deletions

View File

@@ -520,6 +520,19 @@ const handleMonitorDialogClose = (done: () => void) => {
destroyVideoResizeObserver();
resetMonitorDraw();
done();
//刷新列表
getList();
};
const handleMonitorDialogOk = async () => {
if (monitorDrawCollecting.value) {
proxy?.$modal.msgWarning('请先完成报警区域绘制');
return;
}
if (!currentDrawArea.value) {
proxy?.$modal.msgWarning('请先绘制报警区域');
return;
}
};
/** 显示坐标(相对 video 元素) → 视频原始像素坐标,含 object-fit: contain 留白换算 */