wxml下添加标签
<rich-text nodes="{{msg}}"></rich-text>
js下加工数据
data: {
msg:''
},
onLoad: function (options) {
var that= this
wx.request({
url: '', //仅为示例,并非真实的接口地址
method:'post',
header: {
'content-type': 'application/json' // 默认值
关于微信小程序的富文本标签的开发环境使用
最新推荐文章于 2025-05-11 16:42:18 发布