quantity test

This commit is contained in:
cookfront
2017-04-18 14:58:54 +08:00
parent f9847b2558
commit a5721be72f
3 changed files with 103 additions and 2 deletions

View File

@@ -51,7 +51,7 @@ export default {
window.addEventListener('scroll', () => {
clearTimeout(timer);
const scrollTop = document.body.scrollTop || document.documentElement.scrollTop;
let timer = setTimeout(() => {
timer = setTimeout(() => {
_this.scrollTop = scrollTop;
}, 500);
});