浏览代码

h5支付操作

tang 4 年之前
父节点
当前提交
079bc4b9c4
共有 1 个文件被更改,包括 2 次插入 和 1 次删除
  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('支付成功');