Browse Source

新增h函数

es6
guy 4 years ago
parent
commit
a4c4a2edbc
  1. 1
      src/core/h.js

1
src/core/h.js

@ -14,6 +14,7 @@ BI.h = function (type, props, children) {
}, props);
}
return BI.extend({
type: type,
items: children
}, props);
};
Loading…
Cancel
Save