Browse Source

Pull request #2345: 无JIRA任务 判断是不是edge变了

Merge in VISUAL/fineui from ~GUY/fineui:master to master

* commit 'befa9c253d560fceb58f0d0219be55df5a298146':
  判断是不是edge变了
es6
guy 3 years ago
parent
commit
dca8ffecaa
  1. 2
      src/core/platform/web/function.js

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

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

Loading…
Cancel
Save