uniapp:针对与富文本解析的几种方法

第一章、富文本的解析方法

1.1 uniapp自带组件:rich-text

<rich-text :nodes="nodes"></rich-text>

1.2 v-html

<view v-html="item.content"></view>

1.3 uview组件:u-parse

<u-parse :content="item.content"></u-parse>

猜你喜欢

转载自blog.csdn.net/qq_45796592/article/details/131577900