Skip to content

Commit

Permalink
图片消息输入data log,判断是否存在thumb字段
Browse files Browse the repository at this point in the history
  • Loading branch information
Wster11 committed Apr 29, 2022
1 parent e06b3c2 commit a07b5bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion demo/src/config/Easemob-chat-4.0.5.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions demo/src/redux/MessageRedux.js
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,7 @@ const { Types, Creators } = createActions({
callback()
},
onFileUploadComplete: function (data) {
console.log('sendPictureMessage', data)
let url = data.uri + '/' + data.entities[0].uuid
pMessage.body.url = url
pMessage.body.status = 'sent'
Expand Down

0 comments on commit a07b5bd

Please sign in to comment.