无人机管理后台前端(已迁走)
chenyao
2025-11-17 233e4fc4f35bd00a36ee34a7fbf5e47b41db26db
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;
}
@@ -375,7 +375,7 @@
  .device-setting-header {
    font-size: 14px;
    font-weight: 600;
    //font-weight: 600;
    padding: 10px 10px 0px;
  }
@@ -398,6 +398,7 @@
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 4px 10px;
    font-size: 14px;
    .control-setting-item {
      width: 220px;
@@ -414,7 +415,10 @@
        flex-direction: column;
        .item-label {
          font-weight: 700;
          //font-weight: 700;
        }
        .item-status {
          color: #8d8b8b;
        }
      }
      .control-setting-item-right {