Browse Source

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

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

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

8
src/core/conflict.js

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

Loading…
Cancel
Save