秃猿真君
秃猿真君
  • 发布:2021-03-20 22:30
  • 更新:2021-03-20 22:30
  • 阅读:1060

uniapp开发微信小程序,使用Camera,提示没有该组件,咋整呢

分类:uni-app
<view> <camera device-position="back" flash="off" mode="scanCode" style="width: 300rpx; height: 300rpx;"></camera> </view>

报错如下:
[Vue warn]: Unknown custom element: 《v-uni-camera》 - did you register the component correctly? For recursive components, make sure to provide the "name" option.

found in

---> at pages/power/powerScan.vue

2021-03-20 22:30 负责人:无 分享
已邀请:

该问题目前已经被锁定, 无法添加新回复