https://developers.weixin.qq.com/miniprogram/dev/component/
当数据是[{"project_id":99,"name":"1111111","project_code":"PJG65GTYMYAACOI3","area_code":0,"state":2,"longitude":120263972,"latitude":30194118,"comment":"2222222","image_path":"","manu_detect_period":14,"inspect_period":365,"address":"","building_area":"","building_number":0,"constructor":"","constructor_user":"","constructor_phone":"","builder":"","builder_user":"","builder_phone":"","build_timestamp":0,"area_name":"杭州市·拱墅区","termite_count":0,"termite_wait_count":0},{"project_id":96,"name":"名称11","project_code":"PJ32ASY66AAACJVX","area_code":0,"state":1,"longitude":0,"latitude":0,"comment":"描述11","image_path":"","manu_detect_period":14,"inspect_period":60,"address":"","building_area":"","building_number":0,"constructor":"","constructor_user":"","constructor_phone":"","builder":"","builder_user":"","builder_phone":"","build_timestamp":0,"area_name":"马鞍山市·博望区","termite_count":0,"termite_wait_count":0}]
这样的时候,加上range-key="name"会显示不出来,并且报渲染层错误。
当数据只剩
[{"project_id":99,"name":"1111111"},{"project_id":96,"name":"名称11"]
id和name的时候,加上range-key="name"就可以显示。
对象里面属性过多,会造成显示问题
请具体描述问题出现的流程,并提供能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。
丢个代码片段这边看下 https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html