@@ -5,6 +5,10 @@
|
|||||||
"ComputedRef": true,
|
"ComputedRef": true,
|
||||||
"DirectiveBinding": true,
|
"DirectiveBinding": true,
|
||||||
"EffectScope": true,
|
"EffectScope": true,
|
||||||
|
"ElLoading": true,
|
||||||
|
"ElMessage": true,
|
||||||
|
"ElMessageBox": true,
|
||||||
|
"ElNotification": true,
|
||||||
"ExtractDefaultPropTypes": true,
|
"ExtractDefaultPropTypes": true,
|
||||||
"ExtractPropTypes": true,
|
"ExtractPropTypes": true,
|
||||||
"ExtractPublicPropTypes": true,
|
"ExtractPublicPropTypes": true,
|
||||||
|
|||||||
@@ -520,6 +520,19 @@ const handleMonitorDialogClose = (done: () => void) => {
|
|||||||
destroyVideoResizeObserver();
|
destroyVideoResizeObserver();
|
||||||
resetMonitorDraw();
|
resetMonitorDraw();
|
||||||
done();
|
done();
|
||||||
|
//刷新列表
|
||||||
|
getList();
|
||||||
|
};
|
||||||
|
|
||||||
|
const handleMonitorDialogOk = async () => {
|
||||||
|
if (monitorDrawCollecting.value) {
|
||||||
|
proxy?.$modal.msgWarning('请先完成报警区域绘制');
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
if (!currentDrawArea.value) {
|
||||||
|
proxy?.$modal.msgWarning('请先绘制报警区域');
|
||||||
|
return;
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
/** 显示坐标(相对 video 元素) → 视频原始像素坐标,含 object-fit: contain 留白换算 */
|
/** 显示坐标(相对 video 元素) → 视频原始像素坐标,含 object-fit: contain 留白换算 */
|
||||||
|
|||||||
Reference in New Issue
Block a user