摘要: 1.Composition API 1.新增setup() 执行时间是在以前 beforeCreate 和 created 之间 参数: props: 获取父组件传递的参数 context :context参数包含attr,emit,slots ;该对象中包含了一些在vue 2.x 中需要通过 th 阅读全文
posted @ 2020-06-04 17:55 Tutao1995 阅读(489) 评论(0) 推荐(0) 编辑