运行显示两个摄像头

This commit is contained in:
ywb
2026-05-23 19:40:52 +08:00
parent adcd7e0a2c
commit d095d68433
3 changed files with 23 additions and 4 deletions
+6 -2
View File
@@ -10,7 +10,8 @@ createApp({
progress: 0,
tasks: [],
report: null,
previewUrl: API + '/api/camera/preview',
agvPreviewUrl: API + '/api/camera/preview',
armPreviewUrl: API + '/api/camera/arm_refresh',
polling: null,
logs: [],
showQrModal: false,
@@ -123,7 +124,10 @@ createApp({
body: JSON.stringify({ qr: 'SKIP' })
})
},
onPreviewError(e) {
onAgvPreviewError(e) {
e.target.style.display = 'none'
},
onArmPreviewError(e) {
e.target.style.display = 'none'
}
}