鲜荣彬
Herry
10 2019 档案
Vue组件通信方式(一)
摘要:组件与组件的关系,通常有父子关系,兄弟关系以及隔代关系。 针对不同的场景,如何选用适合的通信方式呢? (一) props/$emit parentComponent ==> childComponent child 通过 props [childParams] 接受父组件 parent 传递的过来的 阅读全文
posted @ 2019-10-17 14:47 Herry彬 阅读(205) 评论(0) 推荐(0)