Browse Source

移动端适配

es6
guy 4 years ago
parent
commit
8c1bff398b
  1. 2
      src/core/widget.js

2
src/core/widget.js

@ -197,9 +197,11 @@
} }
if (BI.isArray(els)) { if (BI.isArray(els)) {
BI.each(els, function (i, el) { BI.each(els, function (i, el) {
if (el) {
BI._lazyCreateWidget(el, { BI._lazyCreateWidget(el, {
element: self element: self
}); });
}
}); });
} }
// if (this._isRoot === true || !(this instanceof BI.Layout)) { // if (this._isRoot === true || !(this instanceof BI.Layout)) {

Loading…
Cancel
Save