Authored by 李奇

商品曝光组件修改

... ... @@ -74,7 +74,7 @@
}
});
let timer = setInterval(() => {
setInterval(() => {
this.$scrollEl = window;
this.scrollEvent = util.throttle(50, this.checkReport);
if (this.$scrollEl) {
... ... @@ -82,8 +82,7 @@
}
if (this.$children.length) {
clearInterval(timer);
this.checkReport(void 0, true);
this.checkReport();
}
}, 500);
... ...