From 9ccd890ed5423557f5531e12a9fae8752cc9e4bb Mon Sep 17 00:00:00 2001 From: imp Date: Wed, 10 Jan 2024 17:41:15 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A0jira=E4=BB=BB=E5=8A=A1=20=E4=BC=98?= =?UTF-8?q?=E5=8C=96=E5=B8=83=E5=B1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/fineui/src/base/foundation/message.js | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/packages/fineui/src/base/foundation/message.js b/packages/fineui/src/base/foundation/message.js index e96848c35..042779c08 100644 --- a/packages/fineui/src/base/foundation/message.js +++ b/packages/fineui/src/base/foundation/message.js @@ -239,13 +239,15 @@ function _show(hasCancel, title, message, callback, config = {}) { height: 24, }, { - type: Label.xtype, - css: { "font-size": 16 }, - cls: 'bi-font-bold', // 16px - textAlign: 'left', + el: { + type: Label.xtype, + css: {"font-size": 16}, + cls: 'bi-font-bold', // 16px + textAlign: 'left', + text: title || i18nText('BI-Basic_Prompt'), + lgap: 16, + }, width: 'fill', - text: title || i18nText('BI-Basic_Prompt'), - lgap: 16, }, ], },