-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在某些情况下无法渲染HTML #349
Comments
可以粘一下具体的html内容 |
以下HTML内容在另一个页面是可以正常解析显示的。但是除此之外其他页面均无法显示。 |
刚试了一下,没发现问题,可能我以前改过这个问题了。 |
好的。晚些时候我用你这个试试。感谢 |
我遇到一个层级深的时候. 渲染不出来的bug. 很难受. |
目前我也无法确定是如何引起的。先附上该页面的代码:
wxss:
/* pages/article/groupon/index.wxss */
@import '../../../utils/wxParse/wxParse.wxss';
.topHeader {
width: 100%;
display: flex;
background-color: #fff;
flex-direction: column;
}
wxml:
<import src="../../../utils/wxParse/wxParse"></import> <view class="goodsInfo"> <template is="wxParse" data="{{wxParseData:article.nodes}}" /> </view>
js:
import WxParse from '../../../utils/wxParse/wxParse'
that.setData({
content
})
WxParse.wxParse('article', 'html', content, that, 5)
在页面中并不展示该组件的内容,使用开发者工具查看wxml发现根本没有生成内容。查看了AppData和网络请求返回的数据,HTML内容是有的。却没有渲染到视图中
The text was updated successfully, but these errors were encountered: