Fix message unable to delete
This commit is contained in:
parent
47067d375e
commit
3b2d5dfce0
3 changed files with 34 additions and 6 deletions
|
@ -16,7 +16,6 @@
|
|||
|
||||
chatSocket.onmessage = function(e) {
|
||||
let data = JSON.parse(e.data);
|
||||
console.log(data);
|
||||
data = data['message'];
|
||||
loadMessage(data['body'],
|
||||
data['author'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue