我想呈现包含这个{{some_toekn}}的HTML,但是我得到了这个错误
{{some_toekn}}
对象作为react子
无效
发布于 2022-08-12 07:22:59
我也遇到了同样的问题,然后我将包替换为html-react解析器,如下所示:
import parse from 'html-react-parser'; parse(my string)
https://stackoverflow.com/questions/72168422
相似问题