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.
@@ -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")),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bhd-components",
3
- "version": "0.10.25",
3
+ "version": "0.10.26",
4
4
  "description": "组件功能描述",
5
5
  "config": {
6
6
  "commitizen": {