From 31a636e735a0addc56e4f4527f500b7aa0874eb5 Mon Sep 17 00:00:00 2001
From: chr <chr@mailcom>
Date: 星期五, 03 一月 2025 11:21:46 +0800
Subject: [PATCH] 改了一大堆;

---
 PdmSwPlugin.Common/Control/RichHisWindow.xaml.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/PdmSwPlugin.Common/Control/RichHisWindow.xaml.cs b/PdmSwPlugin.Common/Control/RichHisWindow.xaml.cs
index ce3c459..877c658 100644
--- a/PdmSwPlugin.Common/Control/RichHisWindow.xaml.cs
+++ b/PdmSwPlugin.Common/Control/RichHisWindow.xaml.cs
@@ -55,7 +55,7 @@
             InitializeComponent();
             this.title = title;
             DataContext = this;
-            if (hisList == null)
+            if (hisList == null || hisList.Count <= 0)
             {
                 this.HisList = new ObservableCollection<DrawAuditHis>();
             }

--
Gitblit v1.9.1