摘要: ## 为什么组件my-item的props是listCount,但传入时候用:list-count传入,而 listCount与list-count不一致 ``` ``` 在Vue中,组件的props属性名称是大小写不敏感的。这意味着您在定义props时可以使用camelCase(驼峰式命名)或ke 阅读全文
posted @ 2023-06-08 22:07 JohnYang819 阅读(64) 评论(0) 推荐(0) 编辑