vue.js:597 [Vue warn]: Error in render: “TypeError: Cannot read property ‘img‘ of null

通常而言这个问题是后台给前端传入一个空值,首先向检查下mybatis-plus重写是否正确,或者是自定义的sql是否正确
vue.js:597 [Vue warn]: Error in render: “TypeError: Cannot read property ‘img‘ of null
vue.js:597 [Vue warn]: Error in render: “TypeError: Cannot read property ‘img‘ of null
vue.js:597 [Vue warn]: Error in render: “TypeError: Cannot read property ‘img‘ of null
这里可以发现小怪兽的写的还是正确的,然后问题在哪呢?在最终的检查下小怪兽发现了问题所在
vue.js:597 [Vue warn]: Error in render: “TypeError: Cannot read property ‘img‘ of null
这里返回值小怪兽一着急忘记改了,应该返回一个查询出的对象,修改之后就正常了啊,数据可以正常返回了
vue.js:597 [Vue warn]: Error in render: “TypeError: Cannot read property ‘img‘ of null
vue.js:597 [Vue warn]: Error in render: “TypeError: Cannot read property ‘img‘ of null

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-06-12
  • 2021-09-28
  • 2021-08-06
  • 2021-07-10
猜你喜欢
  • 2022-12-23
  • 2021-05-26
  • 2021-07-29
  • 2021-09-06
  • 2021-05-05
  • 2022-01-28
  • 2021-11-30
相关资源
相似解决方案