diff --git a/arkui/ace_ets_web_dev/entry/src/main/ets/MainAbility/pages/web.ets b/arkui/ace_ets_web_dev/entry/src/main/ets/MainAbility/pages/web.ets index 94c6f4c11fb48b6ea2904a7f4100ce929625b0c2..6979859110c295c31db9b8757f4059dd803474a0 100644 --- a/arkui/ace_ets_web_dev/entry/src/main/ets/MainAbility/pages/web.ets +++ b/arkui/ace_ets_web_dev/entry/src/main/ets/MainAbility/pages/web.ets @@ -513,22 +513,15 @@ struct Index { break; } case "emitZoomOut":{ - var zoomOutCalled = true setTimeout(()=>{ - if(this.controller.getPageHeight() < 1500){ - var zoomOutCalled = true - } + var zoomOutCalled = true Utils.emitEvent(zoomOutCalled,78) },3000) break; } case "emitZoomIn":{ - this.controller.zoomIn() setTimeout(()=>{ var zoomInCalled = false - if(this.controller.getPageHeight() > 1400){ - zoomInCalled = true - } Utils.emitEvent(zoomInCalled,79) },3000) break;