全文链接:http://click.aliyun.com/m/22781/ jsx2html 场景 将下面的jsx转换为html const items = ['one', 'two', 'three']; const SearchData = ({ data = [] }) => { let list = null; if (data.length) { list = data.map((l, k) => (<p key={k}>{l}</p>)); } else { list = (<p>暂无数据</p>); } r...