Browse Source

Pull request #3131: 无JRIA fix: w.listeners[BI.Events.MOUNT]的concat bug

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

* commit '41ada7a50aeb2c1aea2722e2331083eddd7ea53e':
  无JRIA fix: w.listeners[BI.Events.MOUNT]的concat bug
es6
Dailer-刘荣歆 2 years ago
parent
commit
f9152c976c
  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