mirror of
https://github.com/youzan/vant.git
synced 2025-10-17 08:37:23 +00:00
quantity test
This commit is contained in:
@@ -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);
|
||||
});
|
||||
|
Reference in New Issue
Block a user