兄弟传值 一、provide inject //父组件/爷组件... provide() { return { grandPaMsg: this } //子组件 inject:['grandPaMsg'] //调用 this.grandPaMsg //拿到父组件实例