Browse Source

判断是不是edge变了

es6
guy 3 years ago
parent
commit
befa9c253d
  1. 2
      src/core/platform/web/function.js

2
src/core/platform/web/function.js

@ -44,7 +44,7 @@ _.extend(BI, {
if(!_global.navigator) {
return false;
}
return /edge/i.test(navigator.userAgent.toLowerCase());
return /edg/i.test(navigator.userAgent.toLowerCase());
},
isChrome: function () {

Loading…
Cancel
Save