提交 be6814f9 编写于 作者: DCloud-yinjiacheng's avatar DCloud-yinjiacheng

更新web-view示例

上级 20a684ad
...@@ -182,12 +182,12 @@ ...@@ -182,12 +182,12 @@
// 自动化测试 // 自动化测试
touchstart(event : UniTouchEvent) { touchstart(event : UniTouchEvent) {
if (this.autoTest) { 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) { tap(event : UniPointerEvent) {
if (this.autoTest) { if (this.autoTest) {
isTouchEnable = event.clientX > 0 && event.clientY > 0; this.isTouchEnable = event.clientX > 0 && event.clientY > 0;
} }
}, },
getWindowInfo() : GetWindowInfoResult { getWindowInfo() : GetWindowInfoResult {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册