Browse Source

Pull request #2880: 无JIRA任务 worker环境下不存在window

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

* commit 'd61fbad26f4b02989a3fef7c2f4192c178d73a18':
  fix: node环境下报错
es6
Teller 3 years ago
parent
commit
3c56223b16
  1. 8
      src/core/conflict.js

8
src/core/conflict.js

@ -1,7 +1,7 @@
if (!window.$ && !window.jQuery) {
window.jQuery = window.$ = BI.jQuery;
if (!_global.$ && !_global.jQuery) {
_global.jQuery = _global.$ = BI.jQuery;
}
if (!window._) {
window._ = BI._;
if (!_global._) {
_global._ = BI._;
}

Loading…
Cancel
Save