处理一些地图闪烁等效果
let idx = 0
const waterImg = debounce(
() => {
if (idx >= img.length) idx = 0
return img[idx++]
},
100,
{ leading: true, maxWait: 100 }
)
处理一些地图闪烁等效果
let idx = 0
const waterImg = debounce(
() => {
if (idx >= img.length) idx = 0
return img[idx++]
},
100,
{ leading: true, maxWait: 100 }
)
1753
3792
363

被折叠的 条评论
为什么被折叠?