vue子组件向父组件传值

   子组件使用

  fun(){

    this.$emit("传值名称", this.nav_pitch);

  }

      
  父组件
  @传值名称="fun()"
 
  fun(e){
    console.log(e)    接受参数
  }
  
原文地址:https://www.cnblogs.com/yugueilou/p/14452563.html