From 6024db62d32c302efde24a36f0c4427f50396691 Mon Sep 17 00:00:00 2001 From: gongfuxiang Date: Fri, 3 Mar 2023 20:37:36 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=86=E9=A2=91=E6=91=84=E5=83=8F=E5=A4=B4?= =?UTF-8?q?=E6=89=AB=E7=A0=81=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/static/common/js/common.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/public/static/common/js/common.js b/public/static/common/js/common.js index dbf75b87e..5d0f7da9d 100755 --- a/public/static/common/js/common.js +++ b/public/static/common/js/common.js @@ -4726,7 +4726,10 @@ $(function() // 初始最后一个摄像头 if(video_scan_selected_deviceid == null) { + // 默认取最后一个摄像头 video_scan_selected_deviceid = videoInputDevices[videoInputDevices.length-1].deviceId; + // 画像翻转 + $video_scan.addClass('picture-reverse'); } // 大于一个则增加列表切换 if(videoInputDevices.length > 1)