vue ref

父组件如果像操作子组件里面的ref的内容,可以通过this.$refs.child.$refs[xxxx]进行 操作。

原文地址:https://www.cnblogs.com/tutao1995/p/12190375.html