From 2ca94de8ede18ac07ccfd8dec7b6f6a707adde9b Mon Sep 17 00:00:00 2001
From: 张含笑 <zhx18749296735@163.com>
Date: Mon, 01 Sep 2025 11:20:24 +0800
Subject: [PATCH] Merge branch 'refs/heads/feature/v5.0/5.0.5' into patch_management
---
src/api/device-setting/index.js | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/src/api/device-setting/index.js b/src/api/device-setting/index.js
index 84fba89..3ccc262 100644
--- a/src/api/device-setting/index.js
+++ b/src/api/device-setting/index.js
@@ -15,12 +15,14 @@
const workspaceId = localStorage.getItem(ELocalStorageKey.WorkspaceId) || ''
export const putDeviceProps = (deviceSn, body) => {
+ console.log(deviceSn, body, workspaceId, '8888')
return request({
url: `/drone-device-core/manage/api/v1/devices/${workspaceId}/devices/${deviceSn}/property`,
method: 'put',
- body,
+ data: body,
})
}
+
/**
* 设置调色盘
* @param {机场编码} deviceSn
--
Gitblit v1.9.3