Vue笔记 获取自定义属性值 let mypropValue = this.$options.propsData.propName if(!mypropValue){ 代表没有设置 } 自定义事件 this.$emit("uploadSuccess",params)