From e8d04ec788663f497a78a2adbe6674a3077a6329 Mon Sep 17 00:00:00 2001 From: CNH5 <1633866926@qq.com> Date: Wed, 4 Jun 2025 20:07:48 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=89=E9=A1=B9=E6=94=B9=E4=B8=BA=E5=B8=B8?= =?UTF-8?q?=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- registry/lib/components/touch/player-gestures/entry.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/registry/lib/components/touch/player-gestures/entry.ts b/registry/lib/components/touch/player-gestures/entry.ts index f6feaacb3..dc0e6299c 100644 --- a/registry/lib/components/touch/player-gestures/entry.ts +++ b/registry/lib/components/touch/player-gestures/entry.ts @@ -39,7 +39,8 @@ export const entry = async () => { }) ;['volume', 'brightness'].forEach(type => { swiper.action.addEventListener(type, (e: CustomEvent) => { - if (getComponentSettings('touchPlayerGestures').options[`${type}Control`]) { + const { options } = getComponentSettings('touchPlayerGestures').options + if (options[`${type}Control`]) { gestureVM.startPreview({ [type]: e.detail, })