@@ -381,7 +381,10 @@ const resetMonitorDraw = () => {
|
||||
monitorRectPx.value = null;
|
||||
};
|
||||
const handleSee = async (row?: any) => {
|
||||
console.log('1111111111111111', row);
|
||||
console.log('1111111111111111', row, row.drawArea);
|
||||
//将row.drawArea从字符串转为对象
|
||||
const drawArea = JSON.parse(row.drawArea);
|
||||
console.log('222222222222', drawArea);
|
||||
reset();
|
||||
resetMonitorDraw();
|
||||
seeSee.value = row?.isDrawArea === 1 ? 1 : 0;
|
||||
@@ -395,6 +398,9 @@ const handleSee = async (row?: any) => {
|
||||
// 等待 DOM 更新后初始化 Hls
|
||||
await nextTick();
|
||||
initHls();
|
||||
if (drawArea) {
|
||||
monitorDrawCollecting.value = true;
|
||||
}
|
||||
};
|
||||
|
||||
const handleMonitorDialogClose = (done: () => void) => {
|
||||
|
||||
Reference in New Issue
Block a user