diff --git a/src/app/pages/chat/effects/chat.effect.ts b/src/app/pages/chat/effects/chat.effect.ts index 9484626..077576b 100644 --- a/src/app/pages/chat/effects/chat.effect.ts +++ b/src/app/pages/chat/effects/chat.effect.ts @@ -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, diff --git a/task/config.json b/task/config.json index 91da36b..e564d7c 100644 --- a/task/config.json +++ b/task/config.json @@ -16,5 +16,5 @@ "bk": "wwwpic", "env": "dev" }, - "v": "1.1.4" + "v": "1.1.6" } \ No newline at end of file