组件:rich-text
微信版本号 1.02.1907300
调试基础库:2.8.3
RangeError: Maximum call stack size exceeded
at e (:24865/appservice/WAWebview.js:1)
at e (:24865/appservice/WAWebview.js:1)
at e (:24865/appservice/WAWebview.js:1)
at e (:24865/appservice/WAWebview.js:1)
at e (:24865/appservice/WAWebview.js:1)
at e (:24865/appservice/WAWebview.js:1)
at e (:24865/appservice/WAWebview.js:1)
at e (:24865/appservice/WAWebview.js:1)
at e (:24865/appservice/WAWebview.js:1)
at e (:24865/appservice/WAWebview.js:1)
我也遇到这个问题了,怎么都没专业人员来回答呀
这个问题有决绝方案了么
麻烦提供能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)
<rich-text nodes="{{contents}}"></rich-text>
这是一个详情页面的请求 根据id 请求信息
var data = {
id:options.id,
}
app.wxRequest('POST', url, data, (res) => {
let content = res.data.content;
that.data.contents='';
that.data.contents = content.replace(/\<img/gi, '<img class="imgwidth" ');
that.setData({
resData:res.data,
contents:that.data.contents
})
//在此打印数据说明的都有 页面不能渲染
}, (err) => {})