fix:修复ts报错
This commit is contained in:
parent
18d147ae8c
commit
1d2b9f483f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user