diff --git a/pages/component/web-view/web-view.uvue b/pages/component/web-view/web-view.uvue index aa3210afb28694b23add80fb6ad03fdaf22b8d7b..ad645599a64767592ea34819c2620f84e4c863c9 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 {