From d94f28f1d334b2e5a008268ea794bd96cf0e5589 Mon Sep 17 00:00:00 2001 From: Ironsp <1522278303@qq.com> Date: Wed, 27 May 2026 09:30:56 +0800 Subject: [PATCH] =?UTF-8?q?feat=20=E7=BB=98=E5=88=B6=E5=8C=BA=E5=9F=9F?= =?UTF-8?q?=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Copilot --- src/views/equipmentList/list.vue | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/views/equipmentList/list.vue b/src/views/equipmentList/list.vue index 8373880..c56aee4 100644 --- a/src/views/equipmentList/list.vue +++ b/src/views/equipmentList/list.vue @@ -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) => {