版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/Android_Mrchen/article/details/90411787
$(function () { $.ajax({ type:"POST", url: "${baseURL}/portal/dynamicinfoPortalCtl/getdynamicinfoDetail.do?id=${param.id}", cache:false, dataType: "json", success: function(data){ console.log(data); }, error : function() { hideLoading(); showMsg("","网络打了个盹,请重试",1,{ok:function(result){WeixinJS.back();}}); } }); if (/ipad|iphone|mac/i.test(navigator.userAgent)){ setTimeout(function(){ $(".wrapHeight").height($(window).height()); },500); } });
文章来源: https://blog.csdn.net/Android_Mrchen/article/details/90411787