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

Commit

Permalink
fix(pay): (#591) 购买付费动态输入正确的密码也提示密码错误的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
mutoe committed Oct 19, 2018
1 parent b85f963 commit 9c3c0ba
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/payfor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -117,14 +117,13 @@ export default {
this.onOk(password);
this.node
? this.$http
.post(`/currency/purchases/${this.node}`)
.post(`/currency/purchases/${this.node}`, { password })
.then(({ data }) => {
this.onSuccess(data);
this.cancel();
})
.catch(({ response }) => {
this.$Message.error(response.data);
this.cancel();
})
: this.cancel();
},
Expand Down

0 comments on commit 9c3c0ba

Please sign in to comment.