From ff127db4d417c2cb0d46d10d9c48270be9440fe2 Mon Sep 17 00:00:00 2001 From: l30052832 Date: Fri, 20 Sep 2024 16:34:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=BF=E7=94=A8!=3D=3D=E4=BB=A3=E6=9B=BF!=3D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- entry/src/main/ets/pages/Index.ets | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/entry/src/main/ets/pages/Index.ets b/entry/src/main/ets/pages/Index.ets index ff03dce..9027c26 100644 --- a/entry/src/main/ets/pages/Index.ets +++ b/entry/src/main/ets/pages/Index.ets @@ -396,7 +396,7 @@ struct XComponentPage { .rotate({ angle: this.rotation }) .animation({ curve: curves.springMotion() }) .onClick(() => { - if (this.photoUri != '') { + if (this.photoUri !== '') { if (this.currentPic) { previewPhoto(context); } else { @@ -461,7 +461,7 @@ struct XComponentPage { videoRecording(this.isStabilization, cameraPosition, qualityLevel, surfaceId, context, foldAbleStatus); } this.Initialize(); - this.isFront = cameraPosition != 0; + this.isFront = cameraPosition !== 0; }) } .width(CameraConstants.FULL_SCREEN) -- Gitee