将数据渲染到页面的几种方式: 1.字符串拼接; 2.dom回流 3.文档碎片(文档碎片节点:documentFragment) 4.模板 (下章会详细介绍模板) 转载于:https://www.cnblogs.com/shangjun6/p/10397406.html