Skip to content

Commit

Permalink
fix:修复ts报错
Browse files Browse the repository at this point in the history
  • Loading branch information
chaorenluo committed Oct 12, 2024
1 parent 18d147a commit 1d2b9f4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const useList = (props: any): IList => {

// 节流
const throttle = function (callback: any, delay = 20) {
let timer: number | null = null
let timer: any = null
return function (args: any) {
if (timer) {
return
Expand Down

0 comments on commit 1d2b9f4

Please sign in to comment.