fix(聊天页面): 为mock消息对象添加id和interactMode字段
This commit is contained in:
parent
06ce602173
commit
ecc9d8bf87
|
|
@ -223,6 +223,7 @@ export default {
|
|||
if (res.succeed) {
|
||||
// 添加到消息列表
|
||||
const msgUserData = {
|
||||
id: Math.random().toString(36).substring(2),
|
||||
dialogueManagementId: this.vuex_msgUser.dialogueManagementId,
|
||||
senderId: this.vuex_user.Id,
|
||||
receiverId: this.vuex_msgUser.receiverId,
|
||||
|
|
@ -230,6 +231,7 @@ export default {
|
|||
message: this.messageValue,
|
||||
messageType: 0,
|
||||
filePath: "",
|
||||
interactMode: 0,
|
||||
};
|
||||
|
||||
this.$store.commit("push_Msg", msgUserData);
|
||||
|
|
|
|||
Loading…
Reference in New Issue