bhd-components 0.11.19 → 0.11.20
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 -3
- 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/footer/index.js +4 -3
- package/es2017/AIMessageList/type.d.ts +1 -0
- package/esm/AIMessageList/components/footer/index.js +4 -3
- package/esm/AIMessageList/type.d.ts +1 -0
- package/package.json +1 -1
|
@@ -16567,12 +16567,13 @@ var Footer = /*#__PURE__*/ forwardRef(function(props, ref) {
|
|
|
16567
16567
|
fileList: fileList || []
|
|
16568
16568
|
});
|
|
16569
16569
|
};
|
|
16570
|
-
var sendMsgLeft = function sendMsgLeft(msgId, value, reference, fileList) {
|
|
16570
|
+
var sendMsgLeft = function sendMsgLeft(msgId, value, reference, fileList, isCoverId) {
|
|
16571
16571
|
sendMsgAjax({
|
|
16572
16572
|
id: msgId,
|
|
16573
16573
|
value: value,
|
|
16574
16574
|
reference: reference || null,
|
|
16575
|
-
fileList: fileList || []
|
|
16575
|
+
fileList: fileList || [],
|
|
16576
|
+
isCoverId: isCoverId
|
|
16576
16577
|
});
|
|
16577
16578
|
};
|
|
16578
16579
|
var sendMsgAjax = function(recordObj) {
|
|
@@ -16689,7 +16690,7 @@ var Footer = /*#__PURE__*/ forwardRef(function(props, ref) {
|
|
|
16689
16690
|
delete data.content;
|
|
16690
16691
|
// 有内容返回再去填充 因为onmessage存在空内容的心跳维持
|
|
16691
16692
|
if (str) {
|
|
16692
|
-
if (recordObj) {
|
|
16693
|
+
if (recordObj && recordObj.isCoverId) {
|
|
16693
16694
|
data.id = recordObj.id;
|
|
16694
16695
|
}
|
|
16695
16696
|
recordMsgObj = _object_spread({
|