vue-wiguet-chatweb 0.1.6 → 0.1.7
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/style.css +1 -1
- package/dist/vue-wiguet-chatweb.js +564 -558
- package/dist/vue-wiguet-chatweb.umd.cjs +4 -4
- package/package.json +1 -1
- package/src/components/Chat.vue +2 -1
package/package.json
CHANGED
package/src/components/Chat.vue
CHANGED
@@ -187,9 +187,10 @@ const submitMessage = async (event: Event) => {
|
|
187
187
|
} else {
|
188
188
|
messagesData.value.data[idx] = newMsg;
|
189
189
|
|
190
|
+
const message = {...newMsg, chaId:newMessage.chatId }
|
190
191
|
socketService.value.emit(
|
191
192
|
'sendMessage',
|
192
|
-
{ roomId: information?.value?.appChat.id, message
|
193
|
+
{ roomId: information?.value?.appChat.id, message },
|
193
194
|
(response: any) => {
|
194
195
|
console.log('🚀 ~ socketService.value.emit ~ response:', response);
|
195
196
|
}
|