vue2 子组件向父组件传值
父组件:
<category-component ref="jobCategory" :title="title" :path="pathUrl" @get-datalist="getDataList"></category-component>
子组件:
this.$emit('get-datalist', node.data.typeId)