@@ -118,7 +118,7 @@ Component({
msg.set({
apiUrl: WebIM.config.apiURL,
body: file,
- from: me.data.username.myName,
+ from: wx.getStorageSync('myUsername'),
to: me.getSendToParam(),
roomType: false,
chatType: me.data.chatType,