Browse Source

!162 fix: 重新发送消息的bug
Merge pull request !162 from blue/v_3.0.0

blue 6 months ago
parent
commit
2049cec656
1 changed files with 1 additions and 1 deletions
  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();