Explorar el Código

h5支付操作

tang hace 3 años
padre
commit
079bc4b9c4
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      index.html

+ 2 - 1
index.html

@@ -458,7 +458,8 @@
458 458
                     paySign: paysign, // 支付签名
459 459
                     success: (res) => {
460 460
                         // 支付成功后的回调函数
461
-                        window.location.replace("./Paytocomplete.html")
461
+                        // window.location.replace("./Paytocomplete.html")
462
+                        window.location.href = path +"./Paytocomplete.html";
462 463
                         // 跳完成支付页面
463 464
                         //结束loading
464 465
                         // alert('支付成功');