rabin 3 년 전
부모
커밋
a28798fdf9
1개의 변경된 파일1개의 추가작업 그리고 5개의 파일을 삭제
  1. 1 5
      data/payback/active.html

+ 1 - 5
data/payback/active.html

@@ -89,13 +89,9 @@ src="https://wx.gtimg.com/pay_h5/goldplan/js/jgoldplan-1.0.0.js"></script>
       }
       }
   } else {
   } else {
     function jumpOut() {
     function jumpOut() {
-      if (self.frameElement && self.frameElement.tagName == "IFRAME") {
-          var mchData = {action: 'jumpOut', jumpOutUrl: jump}
+      var mchData = {action: 'jumpOut', jumpOutUrl: jump}
           var postData = JSON.stringify(mchData)
           var postData = JSON.stringify(mchData)
           parent.postMessage(postData, 'https://payapp.weixin.qq.com')
           parent.postMessage(postData, 'https://payapp.weixin.qq.com')
-      } else {
-          location.href = jump;
-      }
       
       
   }
   }