网站介绍:文章浏览阅读10w+次,点赞25次,收藏17次。项目场景:本来写的是一个js渲染,但是出了个小问题,cannot read properties of null(reading appendChild)报错。大致意思是:不能读取空的属性。let data = [ {img:"./img/OIP-C.jfif",id:13,name:'黄焖鸡米饭',订餐电话:13782721148,均价:'均价11元'}, {img:"./img/OIP-C.jfif",id:12,name:'胡辣汤',订餐电话:15188811571,均价:'均价3元_cannot read properties of null
- 链接地址:https://blog.csdn.net/qq_45530512/article/details/121245260
- 链接标题:cannot read properties of null(reading appendChild)解决办法-CSDN博客
- 所属网站:blog.csdn.net
- 被收藏次数:747
- 网站标签:cannot read properties of null