更新记录
1.0.0(2025-08-01)
因公司需要花了两天写的一个小插件
平台兼容性
<Triple-Camera-Plugin ref="camera" style="width:1220px;height:600px" @saveVideo="saveVideo" @savePhoto="savePhoto"
></Triple-Camera-Plugin>
openCamera(number,status){
this.$refs.camera.handoffCamera(number,status)
},
snapCamera(number){
this.$refs.camera.takePicture(number)
},
saveVideo(e){
console.log(e)
uni.showToast({
title: e,
icon: 'success'
});
},
savePhoto(e){
uni.showToast({
title: e,
icon: 'success'
});
console.log(e)
},