mirror of
https://github.com/PanJiaChen/vue-element-admin.git
synced 2025-04-06 03:57:53 +08:00
Merge e6ab249ce4d0d73050dbc4255cf0438853166d02 into 6858a9ad67483025f6a9432a926beb9327037be3
This commit is contained in:
commit
19e50d27e1
@ -271,7 +271,8 @@ export function debounce(func, wait, immediate) {
|
||||
}
|
||||
}
|
||||
|
||||
return function(...args) {
|
||||
return function() {
|
||||
args = arguments
|
||||
context = this
|
||||
timestamp = +new Date()
|
||||
const callNow = immediate && !timeout
|
||||
|
Loading…
x
Reference in New Issue
Block a user