src/views/device/components/use-device-setting.js
@@ -50,9 +50,9 @@ } // 设置设备属性 async function setDeviceProps(sn, body) { async function setDeviceProps(sn, workspaceId, body) { try { await putDeviceProps(sn, body).then(res => { await putDeviceProps(sn, workspaceId, body).then(res => { if (res.data.code === 0) { ElMessage({ message: '设备属性设置成功!',