From 6d3cd537a09dfd7b2eff9935f663f6988347256e Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期五, 02 四月 2021 11:45:30 +0800
Subject: [PATCH] 2021-04-02 1.支持中心显示不全修复。
---
HDL_ON/UI/UI0-Stan/Form/Base/CommonFormBase.cs | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/HDL_ON/UI/UI0-Stan/Form/Base/CommonFormBase.cs b/HDL_ON/UI/UI0-Stan/Form/Base/CommonFormBase.cs
index 6e906ef..06422ea 100644
--- a/HDL_ON/UI/UI0-Stan/Form/Base/CommonFormBase.cs
+++ b/HDL_ON/UI/UI0-Stan/Form/Base/CommonFormBase.cs
@@ -292,9 +292,11 @@
return myMethod.Invoke(form, parameter);
}
catch (Exception ex)
- {
- //鍑虹幇鏈煡閿欒,鏁版嵁涓㈠け
- HdlMessageLogic.Current.ShowAppProgramIsError(ex);
+ {
+#if DEBUG
+ //鍑虹幇鏈煡閿欒,鏁版嵁涓㈠け
+ HdlMessageLogic.Current.ShowAppProgramIsError(ex);
+#endif
return null;
}
}
--
Gitblit v1.8.0