查找 vue 子组件 根据子组件的 name 值查找组件实例 Installtion npm i find-vue-child Usage import findVueChild from 'find-vue-child' const childComponent = findVueChild(this, 'child-component') Props 参数名 说明 类型 必填 默认值 component 当前组件(this) Object(Vue 实例) true - name 需要查找的组件name值 string true -