From 80b9bef2485d35dc9eb7ab6424b26602e5198d3d Mon Sep 17 00:00:00 2001 From: hxb <hxb@hdlchina.com.cn> Date: 星期四, 29 七月 2021 09:46:51 +0800 Subject: [PATCH] 萤石测试通过 --- 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