Browse Source

无JRIA fix: w.listeners[BI.Events.MOUNT]的concat bug

es6
zsmj 2 years ago
parent
commit
41ada7a50a
  1. 4
      src/core/5.inject.js

4
src/core/5.inject.js

@ -479,11 +479,11 @@
} }
}]); }]);
} else { } else {
w.listeners[BI.Events.MOUNT] = (w.listeners[BI.Events.MOUNT] || []).concat([ w.listeners[BI.Events.MOUNT] = [
function () { function () {
BI.Plugin.getObject(elType, this); BI.Plugin.getObject(elType, this);
} }
]); ].concat(w.listeners[BI.Events.MOUNT] || []);
} }
} }
return createWidget(w, context, lazy); return createWidget(w, context, lazy);

Loading…
Cancel
Save