From 12e606635c42ea20f4b7c2bdda5204237a4b4c96 Mon Sep 17 00:00:00 2001
From: alielie <alielie@git.com>
Date: 星期一, 02 三月 2026 16:14:49 +0800
Subject: [PATCH] 优化

---
 HMI.UI/MaskControl.xaml.cs |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/HMI.UI/MaskControl.xaml.cs b/HMI.UI/MaskControl.xaml.cs
index 25e649c..66fc8fd 100644
--- a/HMI.UI/MaskControl.xaml.cs
+++ b/HMI.UI/MaskControl.xaml.cs
@@ -1,4 +1,5 @@
-锘縰sing System;
+锘縰sing HMI.Core.Util;
+using System;
 using System.Threading.Tasks;
 using System.Windows;
 using System.Windows.Controls;
@@ -36,7 +37,7 @@
 
         public void ShowMask(UserControl control, Action action, Action<Exception> reject = null, string title = null, string content = null)
         {
-            this.titleLabel.Content = title;
+            this.titleLabel.Content = title ?? LangUtil.Get("App.PleaseWait");
             this.contentLabel.Text = content;
             pausePanel.Visibility = Visibility.Visible;
             Task.Run(() =>

--
Gitblit v1.9.1