pull/3401/merge
chx 2024-11-28 00:29:02 +00:00 committed by GitHub
commit fd1f6bc603
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -271,7 +271,8 @@ export function debounce(func, wait, immediate) {
}
}
return function(...args) {
return function(...args1) {
args = args1
context = this
timestamp = +new Date()
const callNow = immediate && !timeout