This commit is contained in:
chx
2020-12-04 17:19:08 +08:00
committed by GitHub

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