标签加入颜色
This commit is contained in:
tangly1024
2021-11-30 17:48:57 +08:00
parent f5739dc51a
commit 1e24789a24
16 changed files with 217 additions and 156 deletions

View File

@@ -44,7 +44,6 @@ const BaseLayout = ({
let windowTop = 0
const scrollTrigger = useCallback(throttle(() => {
const scrollS = window.scrollY
console.log(scrollS)
if (scrollS >= windowTop && scrollS > 10) {
handleScrollDown()
windowTop = scrollS