From c4a3f8db90530a727ffab77c3bb5bb7d782792bf Mon Sep 17 00:00:00 2001
From: alielie <alielie@git.com>
Date: 星期一, 25 八月 2025 15:50:27 +0800
Subject: [PATCH] 上传代码;

---
 Plugin.DataBoard/DataBoard.xaml.cs |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/Plugin.DataBoard/DataBoard.xaml.cs b/Plugin.DataBoard/DataBoard.xaml.cs
index 7e467e4..099edc3 100644
--- a/Plugin.DataBoard/DataBoard.xaml.cs
+++ b/Plugin.DataBoard/DataBoard.xaml.cs
@@ -6,6 +6,7 @@
 using System.Collections.Generic;
 using System.Collections.ObjectModel;
 using System.Data;
+using System.Drawing;
 using System.IO;
 using System.Linq;
 using System.Windows;
@@ -22,6 +23,7 @@
         {
             DataContext = this;
             InitializeComponent();
+            webview2.DefaultBackgroundColor = Color.Transparent;//Color.FromArgb(243, 249, 255);
         }
 
         private ObservableCollection<OptionData> _options = new ObservableCollection<OptionData> {
@@ -71,7 +73,6 @@
                 default:
                     break;
             }
-
         }
 
         private List<SerialData> SelectSerialDataByTime(DateTime start, DateTime end)
@@ -196,7 +197,7 @@
                         }
                         else if (snStatusCache[data.sn] == "Passed" && data.status == "Passed")
                         {
-                            oneTimePass--;
+                            if (oneTimePass > 0) oneTimePass--;
                         }
                     }
                     else

--
Gitblit v1.9.1