4***@qq.com
4***@qq.com
  • 发布:2024-10-12 14:23
  • 更新:2024-10-12 14:23
  • 阅读:77

无法获取自定义组件实例

分类:uni-app
 <brainlink-bluetooth  
      ref="brainRef"  
      class="childA"  
      @bluetoothValue="bluetoothValue"  
      @bluetoothRR="bluetoothRR"  
      @gyroscope="gyroscope"  
      @conStatus="conStatus"  
      @next="next">  
    </brainlink-bluetooth>

该组件在$refs中key为undefined而不是brainRef,该组件为小程序插件提供的组件。

小程序基础库版本:3.6.0
HBuilder X:4.28
Vue:3

2024-10-12 14:23 负责人:无 分享
已邀请:

要回复问题请先登录注册