Skip to content

Commit

Permalink
修复发送单聊文件bug
Browse files Browse the repository at this point in the history
  • Loading branch information
徐文清-前端开发组 committed May 8, 2018
1 parent 194abad commit 2253524
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/pages/chat/effects/chat.effect.ts
Expand Up @@ -785,7 +785,7 @@ export class ChatEffect {
.ofType(chatAction.sendSingleFile)
.map(toPayload)
.switchMap(async (file) => {
const msgs: any = this.apiService.sendSingleFile(file.singleFile);
const msgs: any = await this.apiService.sendSingleFile(file.singleFile);
if (msgs.code) {
this.store$.dispatch({
type: chatAction.sendMsgComplete,
Expand Down
2 changes: 1 addition & 1 deletion task/config.json
Expand Up @@ -16,5 +16,5 @@
"bk": "wwwpic",
"env": "dev"
},
"v": "1.1.4"
"v": "1.1.6"
}

0 comments on commit 2253524

Please sign in to comment.