From 551e82d33c9c23442e0ecd320bcfc752f300d9ef Mon Sep 17 00:00:00 2001 From: 陈嘉乐 <cjl@hdlchina.com.cn> Date: 星期一, 22 三月 2021 09:20:03 +0800 Subject: [PATCH] Merge branch 'temp-wxr' into WJC --- HDL_ON/DAL/Server/IMessageCommon.cs | 10 ++++++++-- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/HDL_ON/DAL/Server/IMessageCommon.cs b/HDL_ON/DAL/Server/IMessageCommon.cs index 728205d..2564a72 100644 --- a/HDL_ON/DAL/Server/IMessageCommon.cs +++ b/HDL_ON/DAL/Server/IMessageCommon.cs @@ -243,7 +243,7 @@ /// <param name="statuCode"></param> /// <param name="isTipStyle"></param> /// <param name="tipStr">琛ュ厖鐨勯敊璇彁绀�</param> - public void ShowErrorInfoAlter(string statuCode, bool isTipStyle = true, int closeTime = 2, string tipStr = "") + public void ShowErrorInfoAlter(string statuCode, bool isTipStyle = true, int closeTime = 2, string tipStr = "",bool showAllMsg = true) { try { @@ -258,7 +258,13 @@ if (mes == null) return; if (!string.IsNullOrEmpty(tipStr)) { - mes = tipStr + "\n" + mes; + if (showAllMsg) + { + mes = tipStr + "\n" + mes; + }else + { + mes = tipStr; + } } if (isTipStyle) { -- Gitblit v1.8.0