1,父组件传值给子组件 vue2.0 image.png vue3.0(provide(提供)/inject(注入)用法) image.png image.png 2,父组件调用子组件方法 image.png 3,子组件调用父组件方法 image.png