diff --git a/apps/web-antd/src/views/aiot/device/roi/index.vue b/apps/web-antd/src/views/aiot/device/roi/index.vue index ea2c0bf8c..617dc7168 100644 --- a/apps/web-antd/src/views/aiot/device/roi/index.vue +++ b/apps/web-antd/src/views/aiot/device/roi/index.vue @@ -187,6 +187,7 @@ async function onRoiDrawn(data: { coordinates: string; roi_type: string }) { priority: 0, enabled: 1, description: '', + deviceId: 'edge-001', // 默认关联边缘设备 }; try { await saveRoi(newRoi); @@ -409,6 +410,19 @@ function handlePush() { @blur="updateRoiData(selectedRoi!)" /> +