Explorar o código

fix: 大会员支付完成延迟跳转成功页面(加载埋点请求)

yangfeng %!s(int64=4) %!d(string=hai) anos
pai
achega
21a9f8ca44

+ 3 - 1
src/jfw/modules/app/src/web/templates/commonPay/checkout.html

@@ -335,7 +335,9 @@
                                         if (docsId!=null){
                                         if (docsId!=null){
                                           href +="&docsId="+docsId
                                           href +="&docsId="+docsId
                                         }
                                         }
-                                        location.replace(href);
+                                        setTimeout(function() {
+                                          location.replace(href);
+                                        }, 300)
                                     }
                                     }
                                 })
                                 })
                             }
                             }

+ 3 - 1
src/web/templates/weixin/commonPay/checkout.html

@@ -332,7 +332,9 @@
                                         if (docsId!=null){
                                         if (docsId!=null){
                                           href +="&docsId="+docsId
                                           href +="&docsId="+docsId
                                         }
                                         }
-                                        location.replace(href);
+                                        setTimeout(function() {
+                                          location.replace(href);
+                                        }, 300)
                                     }
                                     }
                                 })
                                 })
                             }
                             }