Vue笔记

获取自定义属性值  

let mypropValue =  this.$options.propsData.propName
if(!mypropValue){
  代表没有设置
}
 
自定义事件
this.$emit("uploadSuccess",params)
原文地址:https://www.cnblogs.com/binz/p/11765605.html