feat: 修改移动端列表模式节流时长

This commit is contained in:
hzm
2026-03-08 20:08:56 +08:00
parent d5df393723
commit a176e7d013

View File

@@ -343,7 +343,7 @@ export default function MobileFundTable({
setShowPortalHeader(tableRect.top <= nextStickyTop);
};
const throttledVerticalUpdate = throttle(updateVerticalState, 50, { leading: true, trailing: true });
const throttledVerticalUpdate = throttle(updateVerticalState, 1000/60, { leading: true, trailing: true });
updateVerticalState();
window.addEventListener('scroll', throttledVerticalUpdate, { passive: true });