fileSend = {
'path' : filePath,
'name' : filePath.substring((filePath.lastIndexOf('/') + 1))
}
let messageContent = new ImageMessageContent(fileSend);
let msg = new Message();
msg.conversation = this.conversation,
msg.messageContent = messageContent
this.$wfc.sendMessage(msg);
拿到的结果remotePath 是空
"messageContent": {
"type": 3,
"mentionedType": 0,
"extra": "",
"remotePath": "",
"localPath": "/storage/emulated/0/Android/data/test/apps/UNICB35374/doc/uniapp_temp/222.jpg",
"mediaType": 1
}