tzy
2021-05-14 0fa1534827bd21d763216550d11006fc1441c6cb
HDL_ON/UI/UI0-Stan/Logic/HdlMessageLogic.cs
@@ -41,8 +41,9 @@
        /// <param name="msg">信息</param>
        /// <param name="action">单击确认后执行的回调函数</param>
        /// <param name="buttonText">按钮的文本</param>
        /// <param name="buttonCacel">取消按钮的文本</param>
        /// <param name="i_waitTime">等待时间,单位为秒,设置确认按钮在多长时间后才能够点击</param>
        public void ShowMassage(ShowMsgType msgType, string msg, Action action = null, string buttonText = null, int i_waitTime = -1)
        public void ShowMassage(ShowMsgType msgType, string msg, Action action = null, string buttonText = null, string buttonCacel = null, int i_waitTime = -1)
        {
            //空对象时,不显示
            if (string.IsNullOrEmpty(msg))
@@ -51,7 +52,7 @@
            }
            HdlThreadLogic.Current.RunMain(() =>
            {
                var alert = new ShowMsgControl(msgType, msg, buttonText, null, i_waitTime);
                var alert = new ShowMsgControl(msgType, msg, buttonText, buttonCacel, i_waitTime);
                if (action != null)
                {
                    alert.ConfirmClickEvent += () =>