/** * 判断是否是微信环境 */ ClientNetWeb.prototype.getIsWxClient = function () { var ua = navigator.userAgent.toLowerCase(); if (ua.match(/MicroMessenger/i) == "micromessenger") { return true; } return false; };
js--判断当前环境是否为微信环境
猜你喜欢
转载自www.cnblogs.com/wangyuyuan/p/9909290.html
今日推荐
周排行