mounted() { window.addEventListener("scroll", function (e) { console.log(e); },true); },
scroll event is bound to the body, if the page is not rolling rolling body, but he's a subset of the set overflow: sroll of i case, you can open the event captured on the binding, so that you can listen to a subset of scroll event