jsx语法解析html 努力1 2020-10-10 497 阅读1分钟 let jsxStr = '<p>我是含有标签的html内容</p>'; return (<span domPropsInnerHTML={jsxStr}></span>); Vue 项目中使用到 ,怕忘了添加备份。