<pieChart :message="message"></pieChart>
子组件接收值
props: {
message:
String//字符串,数组,方法

},

子组件传值父组件

子组件传值

<pieChart class="kanban"
v-on:click="message"></pieChart>

message(){
this.$emit(conter,"响应的方法事件")

}
父组件接收值

<pieChart v-on:conter="funcont"></pieChart>

funcont(data){

console.log(data)

}