求助:子组件无法渲染?

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

父页面传数据给子组件时,子组件渲染失效,wxss失效

wxss正常,没有错误,但不对组件页面渲染,纯小白,给各位回答的大佬道谢了!!

2 回复
guiyingxiong
guiyingxiong1 楼5 年前

确认下子组件加入json的usingComponents列表里吗

tao31
tao312 楼5 年前

1.搞一个代码片段,我给你瞅瞅

2.看看有没有触发   observers

https://developers.weixin.qq.com/miniprogram/dev/framework/custom-component/wxml-wxss.html