From 9020d66ff98508f65bfb1e9577a9c8c462ed7aee Mon Sep 17 00:00:00 2001 From: liwenrui Date: Thu, 27 Jul 2023 14:41:19 +0800 Subject: [PATCH] * replace brs of message when shown as messager. --- module/ai/view/editmodel.html.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/ai/view/editmodel.html.php b/module/ai/view/editmodel.html.php index 87b011d598..21bef759c4 100644 --- a/module/ai/view/editmodel.html.php +++ b/module/ai/view/editmodel.html.php @@ -98,7 +98,7 @@ $(function() { } else { - $.zui.messager.danger(data.message); + $.zui.messager.danger(data.message.replace('
', ' ')); } }, complete: function() {$.enableForm('#mainForm');}