react 特殊字符处理 2021-08-20 本文已影响0人 一只哈哈 const v = '<div id="number">123</div>'; <div dangerouslySetInnerHTML={{ __html: v }} />