From 8cd0d74d02af807f8d1b7ca5df5ef6dbe24fd1e9 Mon Sep 17 00:00:00 2001
From: 张含笑 <zhx18749296735@163.com>
Date: Wed, 03 Sep 2025 10:44:37 +0800
Subject: [PATCH] feat:样式调整

---
 src/api/device-setting/index.js |   10 ++--------
 1 files changed, 2 insertions(+), 8 deletions(-)

diff --git a/src/api/device-setting/index.js b/src/api/device-setting/index.js
index c0e6db9..3ccc262 100644
--- a/src/api/device-setting/index.js
+++ b/src/api/device-setting/index.js
@@ -15,20 +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,
   })
 }
 
-export const putDevicePropsNew = (deviceSn, body, workspaceId) => {
-  return request({
-    url: `/drone-device-core/manage/api/v1/devices/${workspaceId}/devices/${deviceSn}/property`,
-    method: 'put',
-    body,
-  })
-}
 /**
  * 设置调色盘
  * @param {机场编码} deviceSn 

--
Gitblit v1.9.3