Browse Source

优化一下

master
guy 4 years ago
parent
commit
db356a0903
  1. 3
      src/core/widget.js

3
src/core/widget.js

@ -610,8 +610,11 @@
if (o.element) {
return BI.$(o.element);
}
if (o.tagName) {
return BI.$(document.createElement(o.tagName));
}
return BI.$(document.createDocumentFragment());
}
return BI.$(widget);
},
createFragment: function () {

Loading…
Cancel
Save