xiluhua
IOS系统下 微信自带页面 进行二维码支付页面跳转的时候,参数无法带过去,导致页面报错。需要将 form属性中的target 设置为"_parent"。
          // 二维码支付
                if(bank == \'WECHAT\'){
                   var url = document.dynamicResourcePath+"/wechat/gotoTwoCodePc.html";
                   $(\'#deductForm\').attr(\'action\', url);
                    // $(\'#deductForm\').attr(\'target\', "_blank");
                    $(\'#deductForm\').attr(\'target\', "_parent");
                    $(\'#deductForm\').submit();
                    //add by liwei 2018-11-14
                    popwin(\'open\');
                }

 

分类:

技术点:

相关文章:

  • 2021-05-19
  • 2022-01-28
  • 2022-12-23
  • 2021-12-09
  • 2022-01-10
  • 2021-06-08
  • 2021-12-18
  • 2022-01-20
猜你喜欢
  • 2022-12-23
  • 2022-02-10
  • 2022-01-19
  • 2022-02-07
  • 2022-02-10
  • 2022-12-23
相关资源
相似解决方案