bhd-components 0.10.25 → 0.10.26
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.
- package/dist/index.esm.es5.development.js +4 -1
- package/dist/index.esm.es5.production.js +1 -1
- package/dist/vendor.esm.es5.development.js +1 -1
- package/dist/vendor.esm.es5.production.js +1 -1
- package/es2017/AIMessageList/components/virtuosoList/index.js +4 -1
- package/esm/AIMessageList/components/virtuosoList/index.js +4 -1
- package/package.json +1 -1
|
@@ -512,7 +512,10 @@ const VirtuosoList = /*#__PURE__*/ forwardRef((props, ref)=>{
|
|
|
512
512
|
// 只有最后一条才显示底部操作啦 且是左侧消息 且不是招呼语
|
|
513
513
|
}
|
|
514
514
|
if (location === "floatTop" || location === "floatBottom") {
|
|
515
|
-
if (item.location === "left" && item.id !== "helloMsg" && item.id !== "inputing" && index === recordRef.current.dataSource.length - 1) return null;
|
|
515
|
+
if (item.location === "left" && item.id !== "helloMsg" && item.id !== "inputing" && index === recordRef.current.dataSource.length - 1) // return null;
|
|
516
|
+
return /*#__PURE__*/ _jsx("div", {
|
|
517
|
+
className: `${getCls("msgItem-action-empty")}`
|
|
518
|
+
});
|
|
516
519
|
// 浮框
|
|
517
520
|
return /*#__PURE__*/ _jsx("div", {
|
|
518
521
|
className: `${getCls("msgItem-action-operate")}`,
|
|
@@ -520,7 +520,10 @@ var VirtuosoList = /*#__PURE__*/ forwardRef(function(props, ref) {
|
|
|
520
520
|
// 只有最后一条才显示底部操作啦 且是左侧消息 且不是招呼语
|
|
521
521
|
}
|
|
522
522
|
if (location === "floatTop" || location === "floatBottom") {
|
|
523
|
-
if (item.location === "left" && item.id !== "helloMsg" && item.id !== "inputing" && index === recordRef.current.dataSource.length - 1) return null;
|
|
523
|
+
if (item.location === "left" && item.id !== "helloMsg" && item.id !== "inputing" && index === recordRef.current.dataSource.length - 1) // return null;
|
|
524
|
+
return /*#__PURE__*/ _jsx("div", {
|
|
525
|
+
className: "".concat(getCls("msgItem-action-empty"))
|
|
526
|
+
});
|
|
524
527
|
// 浮框
|
|
525
528
|
return /*#__PURE__*/ _jsx("div", {
|
|
526
529
|
className: "".concat(getCls("msgItem-action-operate")),
|