调整取消generat布局

This commit is contained in:
X1627315083
2024-01-25 15:39:43 +08:00
parent 00b2a0f456
commit 93e34aebfd
17 changed files with 54 additions and 23 deletions

View File

@@ -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);