摘要: 8.1 挂载子节点和元素的属性 1. 挂载子节点 // 子节点为数组 const vnode = { type: "div", children: [ { type: "p", children: "hello", }, ], }; // 支持多个子节点的挂载方法 function mountEle 阅读全文
posted @ 2024-04-26 13:40 Better-HTQ 阅读(27) 评论(0) 推荐(0) 编辑