Commit 8788a22d by yuzhenWang

首页添加移除事件

parent 8c4c2dd4
...@@ -170,8 +170,12 @@ ...@@ -170,8 +170,12 @@
}, },
onShow() { onShow() {
this.init(); this.init();
// #ifdef H5
document.body.removeEventListener('touchmove', function(e) {
e.preventDefault()
}, { passive: false })
// #endif
}, },
onLoad() { onLoad() {
//如果用户在其他的地方快捷登录,没有返回到首页,执行此监听方法 //如果用户在其他的地方快捷登录,没有返回到首页,执行此监听方法
......
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