linwenxin 5 månader sedan
förälder
incheckning
1acd4453bc
2 ändrade filer med 2 tillägg och 2 borttagningar
  1. 1 1
      src/packageMaterial/pages/newSale/pay.vue
  2. 1 1
      src/packageMaterial/pages/sale/pay.vue

+ 1 - 1
src/packageMaterial/pages/newSale/pay.vue

@@ -175,7 +175,7 @@ export default {
             this.state = 1
           }
           // 返回true,则支付成功
-          if (res.data) {
+          if (res.data == 1) {
             this.getDetail(() => {
               this.state = 2
             })

+ 1 - 1
src/packageMaterial/pages/sale/pay.vue

@@ -187,7 +187,7 @@ export default {
             this.state = 1
           }
           // 返回true,则支付成功
-          if (res.data) {
+          if (res.data == 1) {
             this.getDetail(() => {
               this.state = 2
             })