Browse Source

fix: node环境下报错

es6
iapyang 2 years ago
parent
commit
d61fbad26f
  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