渲染层错误

发布于 7 年前作者 pingxie9869 次浏览最后编辑 7 年前来自 ask

 Expect END descriptor with depth 0 but get another  模拟器报错。iPhone真机正常

4 回复
panyong
panyong1 楼6 年前

你好,请具体描述问题出现的场景,或者可以社区搜索:Expect END descriptor with depth 0 but get another参考,

请参考:
https://developers.weixin.qq.com/blogdetail?action=get_post_info&docid=000aeca2a44eb8bd20070451356c00&highline=Expect%20END%20descriptor%20with%20depth%200%20but%20get%20another

lei14
lei142 楼6 年前

最好能做个片段,我上次遇见这个报错是直接用 this.data 来赋值,并且没立即 setData。不太确定你这是为啥。

gxiong
gxiong3 楼6 年前

组件内是否用的template,template内是否用了wxs,如果是的,检查一下template传入的数据是否有问题

sdu
sdu4 楼5 年前

??????