From 7700e93a9bd4ab4c62e60ceccc60853c0e6f59ae Mon Sep 17 00:00:00 2001 From: guy Date: Mon, 7 Mar 2022 10:49:32 +0800 Subject: [PATCH] =?UTF-8?q?feature=EF=BC=9A=20items=E6=94=AF=E6=8C=81?= =?UTF-8?q?=E5=93=8D=E5=BA=94=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/core/h.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/h.js b/src/core/h.js index 22326288a..b768b1415 100644 --- a/src/core/h.js +++ b/src/core/h.js @@ -48,7 +48,7 @@ BI.h = function (type, props, children) { if (BI.isFunction(children[0])) { return BI.extend({ type: type - }, { text: children[0], items: children[0] }, props); + }, { items: children[0] }, props); } }