vue.js 如何获取某个组件实例?如果是在父附件中,可以通过ref<component1 ref="ref1"><component>在父组件中 this.$refs.ref1在子组件中通过 this.$2023-04-21JavaScript320