问题遇到的现象和发生背景
[Vue warn]: Error in render: "TypeError: Cannot read properties of undefined (reading 'name')"
[Vue warn]: Error in render: "TypeError: Cannot read properties of undefined (reading 'name')"
报错的意思是 你用到了 name这个属性,但是name连上一级都没有
下图案例特别清除理解
学习方法的话推荐跟着b站上的系列课程学习html,css,JavaScript,vue2,结合https://developer.mozilla.org/zh-CN/docs/Learn