From fb83485ab14cdf80ce394ab3e7d38a9dd8439516 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Fri, 17 Oct 2025 15:51:44 +0800
Subject: [PATCH] Merge branch 'feature/v7.0/7.0.1' of http://139.196.74.78:10010/r/drone/drone-web-manage into feature/v7.0/7.0.1

---
 src/views/device/components/use-device-setting.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/views/device/components/use-device-setting.js b/src/views/device/components/use-device-setting.js
index 258c6bf..a57cc92 100644
--- a/src/views/device/components/use-device-setting.js
+++ b/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: '设备属性设置成功!',

--
Gitblit v1.9.3