vue父子组件传值的方式

给子组件传值: this.$refs.child.xx(query);

调用父组件的方法:this.$parent.xx();

原文地址:https://www.cnblogs.com/otways/p/14789160.html