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) {
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