From 424176ffa5b7695a4625e59126630d3b8f3726b9 Mon Sep 17 00:00:00 2001 From: liuwf Date: Mon, 12 Aug 2024 18:54:25 +0800 Subject: [PATCH] . --- SlnMesnac.WPF/Page/DevMonitorPage.xaml.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SlnMesnac.WPF/Page/DevMonitorPage.xaml.cs b/SlnMesnac.WPF/Page/DevMonitorPage.xaml.cs index 1c0a719..c9c8a01 100644 --- a/SlnMesnac.WPF/Page/DevMonitorPage.xaml.cs +++ b/SlnMesnac.WPF/Page/DevMonitorPage.xaml.cs @@ -99,7 +99,7 @@ namespace SlnMesnac.WPF.Page if (unPackStatus1) { BaseConfigInfo configInfo = _configInfoBusiness.GetConfigInfos().Where(x => x.ConfigKey == "系统运行时长").FirstOrDefault(); - configInfo.ConfigValue += 1; + configInfo.ConfigValue = (int.Parse(configInfo.ConfigValue) + 1).ToString(); _configInfoBusiness.UpdateConfigInfo(configInfo); } }