From 89115267c8637d1e0de8a45870814b9f048360da Mon Sep 17 00:00:00 2001 From: yinjiacheng Date: Tue, 22 Oct 2024 17:03:34 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0web-view=E7=A4=BA=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/component/web-view/web-view.uvue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/component/web-view/web-view.uvue b/pages/component/web-view/web-view.uvue index aa3210af..ad645599 100644 --- a/pages/component/web-view/web-view.uvue +++ b/pages/component/web-view/web-view.uvue @@ -182,12 +182,12 @@ // 自动化测试 touchstart(event : UniTouchEvent) { if (this.autoTest) { - isTouchEnable = event.touches[0].clientX > 0 && event.touches[0].clientY > 0; + this.isTouchEnable = event.touches[0].clientX > 0 && event.touches[0].clientY > 0; } }, tap(event : UniPointerEvent) { if (this.autoTest) { - isTouchEnable = event.clientX > 0 && event.clientY > 0; + this.isTouchEnable = event.clientX > 0 && event.clientY > 0; } }, getWindowInfo() : GetWindowInfoResult { -- GitLab