@ant-design/agentic-ui 2.24.4 → 2.24.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -452,9 +452,9 @@ var BUTTON_TITLE_STYLE = {
|
|
|
452
452
|
};
|
|
453
453
|
var ButtonContent = function(param) {
|
|
454
454
|
var title = param.title;
|
|
455
|
-
return /*#__PURE__*/ React.createElement(React.Fragment, null, /*#__PURE__*/ React.createElement(Paperclip, null), title !== null && /*#__PURE__*/ React.createElement("div", {
|
|
455
|
+
return /*#__PURE__*/ React.createElement(React.Fragment, null, /*#__PURE__*/ React.createElement(Paperclip, null), title !== null && title ? /*#__PURE__*/ React.createElement("div", {
|
|
456
456
|
style: BUTTON_TITLE_STYLE
|
|
457
|
-
}, title));
|
|
457
|
+
}, title) : null);
|
|
458
458
|
};
|
|
459
459
|
/**
|
|
460
460
|
* 附件上传按钮组件
|