linwenxin hace 5 meses
padre
commit
1acd4453bc

+ 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
             })