Browse Source

优化一下

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

4
src/core/widget.js

@ -611,10 +611,6 @@
return BI.$(o.element); return BI.$(o.element);
} }
return BI.$(document.createElement(o.tagName)); return BI.$(document.createElement(o.tagName));
if (o.tagName) {
return BI.$(document.createElement(o.tagName));
}
return BI.$(document.createDocumentFragment());
} }
return BI.$(widget); return BI.$(widget);
}, },

Loading…
Cancel
Save