解决带样式的数据在小程序端显示标签的问题
闲话少说,代码如下
wxml:
<mp-html class="introduction" content="{{gg.summary}}" />
json: 记得引用
"usingComponents": {
"mp-html": "/components/mp-html/index"
}
最后components 文件夹下,贴入插件
将mp-html文件夹(我主页提供下载)放入,即可运行测试
解决带样式的数据在小程序端显示标签的问题
闲话少说,代码如下
wxml:
<mp-html class="introduction" content="{{gg.summary}}" />
json: 记得引用
"usingComponents": {
"mp-html": "/components/mp-html/index"
}
最后components 文件夹下,贴入插件
将mp-html文件夹(我主页提供下载)放入,即可运行测试