vue+Django项目( js error)Error in render: "TypeError: Cannot read properties of null (reading 'id')"

问题现象

Error in render: "TypeError: Cannot read properties of null (reading 'id')"

 

解决方法 

 this.allMenuLabel = response.data 加 results: this.allMenuLabel = response.data.results

 

posted @ 2021-12-14 18:58  Jessie橙子  阅读(3986)  评论(0编辑  收藏  举报
Live2D