调整取消generat布局
This commit is contained in:
@@ -165,7 +165,6 @@ function getBrowserInfo() {//获取是什么浏览器
|
||||
var regStr_saf = /safari\/[\d.]+/gi;
|
||||
var isIE = userAgent.indexOf("compatible") > -1 && userAgent.indexOf("MSIE") > -1; //判断是否IE<11浏览器
|
||||
var isEdge = userAgent.indexOf("Edge") > -1 && !isIE; //判断是否IE的Edge浏览器
|
||||
console.log(isIE,isEdge);
|
||||
//IE
|
||||
if (agent.indexOf("msie") > 0) {
|
||||
return agent.match(regStr_ie);
|
||||
|
||||
Reference in New Issue
Block a user