8***@qq.com
8***@qq.com
  • 发布:2024-11-02 12:23
  • 更新:2024-11-02 15:23
  • 阅读:56

#插件讨论# 【 UTS实现自定义相机拍照和录像功能 - 52yaoer 】导入后全是错误

分类:uni-app
import { UIView } from "UIKit"  
                                     ^^^^^^  
import { CameraView } from "./camera";  
import { CameraConfig } from '../interface'  
import { CameraManager } from "./CameraManager";  

​warning: Cannot find module './camera' or its corresponding type declarations.​
​at uni_modules/XF-cameraUTS/utssdk/app-ios/index.vue:7:28​
不知这些问题,还有不少问题,是什么原因呢?

2024-11-02 12:23 负责人:无 分享
已邀请:
52yaoer

52yaoer

插件不是你这么用的。是这样<xf-camera style="height:750rpx; background-color: red;" @ready="ready" @error="onError" @stop="stop" :flash="flash" :position="device">
</xf-camera>

要回复问题请先登录注册