From 6d40d1b174bdb88b154d6df0b9af051228e0e7cb Mon Sep 17 00:00:00 2001 From: gongfuxiang Date: Fri, 3 Mar 2023 20:39:56 +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 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/public/static/common/js/common.js b/public/static/common/js/common.js index 5d0f7da9d..d197d8418 100755 --- a/public/static/common/js/common.js +++ b/public/static/common/js/common.js @@ -4728,8 +4728,11 @@ $(function() { // 默认取最后一个摄像头 video_scan_selected_deviceid = videoInputDevices[videoInputDevices.length-1].deviceId; - // 画像翻转 - $video_scan.addClass('picture-reverse'); + // PC模式下默认画像翻转 + if(parseInt(__is_mobile__) != 1) + { + $video_scan.addClass('picture-reverse'); + } } // 大于一个则增加列表切换 if(videoInputDevices.length > 1)