app发送文字消息
This commit is contained in:
@@ -36,9 +36,10 @@ export default {
|
||||
console.log("onP2PMessage :" + e);
|
||||
e = JSON.parse(e)
|
||||
e.data.pushType="MSG"
|
||||
const _data=JSON.parse(e.data.messageBody)
|
||||
e.data.msgContent={
|
||||
msgType:"TEXT",
|
||||
content:e.data.messageBody,
|
||||
content:_data.content,
|
||||
disturb:false,
|
||||
top:false,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user