无人机管理后台前端(已迁走)
罗广辉
2025-09-06 4921ef87bf3f9f18838d5c736f82a1a4c90e08ac
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;
}