孙title this.$emit(‘事件名’,要传递的值)
// titlemethods: {change(e) {console.log(e, 'e');this.$emit("sValue", this.sValue, this.options[0].label)}}
父 box v-bind=“ a t t r s " v − o n = " attrs" v-on=" attrs"v−on="listeners”
<div class="box-wrap"><Title v-bind="$attrs" v-on="$listeners"></Title><div class="box"><slot></slot></div></div>
爷 index
<Box @sValue="sValue"></Box>
sValue(e, e1) {console.log(e, e1, 'eee');}