@@ -5,6 +5,10 @@
|
||||
"ComputedRef": true,
|
||||
"DirectiveBinding": true,
|
||||
"EffectScope": true,
|
||||
"ElLoading": true,
|
||||
"ElMessage": true,
|
||||
"ElMessageBox": true,
|
||||
"ElNotification": true,
|
||||
"ExtractDefaultPropTypes": true,
|
||||
"ExtractPropTypes": true,
|
||||
"ExtractPublicPropTypes": true,
|
||||
|
||||
@@ -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 留白换算 */
|
||||
|
||||
Reference in New Issue
Block a user