Browse Source

feature: items支持响应式

es6
guy 3 years ago
parent
commit
7700e93a9b
  1. 2
      src/core/h.js

2
src/core/h.js

@ -48,7 +48,7 @@ BI.h = function (type, props, children) {
if (BI.isFunction(children[0])) { if (BI.isFunction(children[0])) {
return BI.extend({ return BI.extend({
type: type type: type
}, { text: children[0], items: children[0] }, props); }, { items: children[0] }, props);
} }
} }

Loading…
Cancel
Save