From afeb0e668fd23344d71c2dc355d8b64f663f6ba1 Mon Sep 17 00:00:00 2001
From: 张含笑 <zhx18749296735@163.com>
Date: Fri, 07 Nov 2025 16:02:49 +0800
Subject: [PATCH] Merge branch 'refs/heads/feature/v7.0/7.0.4' into feature/v8.0/8.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