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, }, ], },