From 39abebc6d54083556a393441e0628bc3d93b46c7 Mon Sep 17 00:00:00 2001
From: 张含笑 <zhx18749296735@163.com>
Date: Sat, 25 Oct 2025 13:54:01 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/feature/v7.0/7.0.2' into feature/v7.0/7.0.2

---
 src/views/device/components/DeviceSettingBox.vue |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/views/device/components/DeviceSettingBox.vue b/src/views/device/components/DeviceSettingBox.vue
index 1b25451..2621bc2 100644
--- a/src/views/device/components/DeviceSettingBox.vue
+++ b/src/views/device/components/DeviceSettingBox.vue
@@ -356,11 +356,11 @@
   deviceSetting.value[settingKey].popConfirm.visible = false;
 }
 
-async function onConfirm(settingKey) {
+async function onConfirm(settingKey,) {
   deviceSetting.value[settingKey].popConfirm.loading = true;
   const body = genDevicePropsBySettingKey(settingKey, deviceSettingFormModel.value);
   localStorage.setItem(ELocalStorageKey.WorkspaceId, props.deviceInfo.workspace_id)
-  await setDeviceProps(props.sn, body);
+  await setDeviceProps(props.sn, props.deviceInfo.workspace_id, body);
   deviceSetting.value[settingKey].popConfirm.loading = false;
   deviceSetting.value[settingKey].popConfirm.visible = false;
 }

--
Gitblit v1.9.3