Преглед на файлове

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

blue преди 6 месеца
родител
ревизия
2049cec656
променени са 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();