فهرست منبع

fix: 重新发送消息的bug

xsx 6 ماه پیش
والد
کامیت
64f6238585
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      im-web/src/components/chat/ChatBox.vue

+ 1 - 1
im-web/src/components/chat/ChatBox.vue

@@ -512,7 +512,7 @@ export default {
 			// 删除旧消息
 			this.chatStore.deleteMessage(msgInfo, chat);
 			// 重新推送
-			msgInfo.temId = this.generateId();
+			msgInfo.tmpId = this.generateId();
 			let tmpMessage = this.buildTmpMessage(msgInfo);
 			this.chatStore.insertMessage(tmpMessage, chat);
 			this.moveChatToTop();