Skip to content
This repository has been archived by the owner on Nov 15, 2018. It is now read-only.

Commit

Permalink
fix: (issue #411) 动态发布失败后消息提示
Browse files Browse the repository at this point in the history
  • Loading branch information
mutoe committed Jun 15, 2018
1 parent 7458553 commit 36ac230
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/page/post/PostImage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ export default {
this.successCallback();
})
.catch(e => {
this.$Message.error("发送失败,请稍后再试");
console.log(e);
this.loading = false;
});
Expand Down
1 change: 1 addition & 0 deletions src/page/post/PostText.vue
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ export default {
this.loading = false;
})
.catch(error => {
this.$Message.error("发送失败,请稍后重试");
console.log(error);
this.loading = false;
});
Expand Down

0 comments on commit 36ac230

Please sign in to comment.