// 兼容不同浏览器的 Adapter 适配层
if(typeof window.XMLHttpRequest === "undefined")
{
window.XMLHttpRequest = function(){
return new window.ActiveXObject(navigator.userAgent.indexOf("MSIE 5") >=0 ? "Microsoft.XMLHTTP" : "Msxml2.XMLHTTP");
};
}
兼容不同浏览器的 Adapter 适配层
最新推荐文章于 2023-03-13 16:21:36 发布