Skip to content

Commit

Permalink
[FIX]修复支付BUG
Browse files Browse the repository at this point in the history
  • Loading branch information
Exrick committed Apr 21, 2018
1 parent c8060cd commit 945aa39
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
Binary file added dist.zip
Binary file not shown.
2 changes: 1 addition & 1 deletion src/page/Order/alipay.vue
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@
this.$router.push({path: '/'})
return
}
if (this.isCustom !== 1) {
if (this.isCustom !== '1') {
this.picName = this.orderTotal
this.imgPath = 'static/qr/alipay/' + this.picName + '.png'
}
Expand Down
2 changes: 1 addition & 1 deletion src/page/Order/qqpay.vue
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@
if (this.orderTotal === 'NaN') {
this.$router.push({path: '/'})
}
if (this.isCustom !== 1) {
if (this.isCustom !== '1') {
this.picName = this.orderTotal
this.imgPath = 'static/qr/qqpay/' + this.picName + '.png'
}
Expand Down
4 changes: 1 addition & 3 deletions src/page/Order/wechat.vue
Original file line number Diff line number Diff line change
Expand Up @@ -129,12 +129,10 @@
mounted () {
this.orderTotal = this.toMoney(this.$route.query.price)
this.isCustom = this.$route.query.isCustom
console.log(this.isCustom)
if (this.orderTotal === 'NaN') {
this.$router.push({path: '/'})
}
if (this.isCustom !== 1) {
alert(1)
if (this.isCustom !== '1') {
this.picName = this.orderTotal
this.imgPath = 'static/qr/wechat/' + this.picName + '.png'
}
Expand Down

0 comments on commit 945aa39

Please sign in to comment.