uniapp: several methods for parsing rich text

Chapter 1, Rich Text Parsing Method

1.1 uniapp comes with its own components: rich-text

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

1.2 v-html

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

1.3 uview component: u-parse

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

Guess you like

Origin blog.csdn.net/qq_45796592/article/details/131577900
Recommended