vue ref

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

猜你喜欢

转载自www.cnblogs.com/tutao1995/p/12190375.html