Commit 7a1967c5 authored by 24776's avatar 24776

android键盘

parent 6d21b97c
......@@ -39,7 +39,7 @@ export default {
lastClickTime: 0,
startY: 0, // 触摸位置
endY: 0, // 结束位置
distance: 0, //android应该滚动距离
distance: 0, // android应该滚动距离
docmHeight: 0, // 默认屏幕高度
showHeight: 0, // 实时屏幕高度
topHeight: 0, // content距离顶部的高度
......@@ -112,7 +112,7 @@ export default {
}
},
touchEnd (event) {
if(detectOS() === 'ios'){
if (detectOS() === 'ios') {
if ((event.timeStamp - this.lastClickTime) < this.tapDelay) return
this.lastClickTime = event.timeStamp
if (event.target.nodeName === 'INPUT' || event.target.nodeName === 'TEXTAREA') {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment