Commit 2f767c3d by 程智春

Math.abs(delta) < 10

parent c3de4617
......@@ -443,7 +443,7 @@ export default {
let delta = afterScrollTop - this.beforeScrollTop;
let {showFlag} = this.$mp.page.selectComponent(".custom-tab-bar").data;
if(
delta === 0 ||
Math.abs(delta) < 10 ||
afterScrollTop < 0 ||
this.beforeScrollTop < 0 ||
(delta>0 && showFlag=='down') ||
......
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