From 2b08c910883ccc0aa5034687f85d79e6082a5e4f Mon Sep 17 00:00:00 2001 From: zhaohe Date: Wed, 2 Apr 2025 10:01:29 +0800 Subject: [PATCH] =?UTF-8?q?v1.11.1=20|=20=E4=BF=AE=E5=A4=8DdvalueCoefficie?= =?UTF-8?q?nt=20=E6=97=A0=E6=B3=95=E8=A2=AB=E9=85=8D=E7=BD=AE=E7=9A=84BUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- appdep/iflytop/core/spdlog/include/spdlog/version.h | 2 +- appsrc/baseservice/db/device_ext_setting_dao.cpp | 2 +- html/debug/index.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/appdep/iflytop/core/spdlog/include/spdlog/version.h b/appdep/iflytop/core/spdlog/include/spdlog/version.h index 5717bea..1d61e8e 100644 --- a/appdep/iflytop/core/spdlog/include/spdlog/version.h +++ b/appdep/iflytop/core/spdlog/include/spdlog/version.h @@ -5,6 +5,6 @@ #define SPDLOG_VER_MAJOR 1 #define SPDLOG_VER_MINOR 11 -#define SPDLOG_VER_PATCH 0 +#define SPDLOG_VER_PATCH 1 #define SPDLOG_VERSION (SPDLOG_VER_MAJOR * 10000 + SPDLOG_VER_MINOR * 100 + SPDLOG_VER_PATCH) diff --git a/appsrc/baseservice/db/device_ext_setting_dao.cpp b/appsrc/baseservice/db/device_ext_setting_dao.cpp index df6e648..31f435c 100644 --- a/appsrc/baseservice/db/device_ext_setting_dao.cpp +++ b/appsrc/baseservice/db/device_ext_setting_dao.cpp @@ -39,7 +39,7 @@ DeviceExtSetting DeviceExtSettingDAO::getDeviceExtSetting() { // setting.canIF = get("canIF", "can0"); setting.deviceId = get("deviceId", ""); setting.printerUartPath = get("printerUartPath", "/dev/ttyS5"); - setting.dvalueCoefficient = get("printerBaudrate", 2); + setting.dvalueCoefficient = get("dvalueCoefficient", 2); setting.projectTypes = get("projectTypes", ""); setting.h2o2SensorExpireTimeMonth = get("h2o2SensorExpireTimeMonth", 12); setting.deviceType = get("deviceType", ""); diff --git a/html/debug/index.html b/html/debug/index.html index 31a26ab..100fd53 100644 --- a/html/debug/index.html +++ b/html/debug/index.html @@ -164,7 +164,7 @@ group = { key: action.className, items: [] }; this.actions.push(group); } - item = structuredClone(action); + item = JSON.parse(JSON.stringify(action)); // Replace structuredClone with JSON.parse(JSON.stringify()) item.values = {}; item.paramInfoMap = {}; for (let i = 0; i < item.paramsTypeInfo.length; i++) {