1
0
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:
MaYuanhai 2024-11-28 00:29:02 +00:00 committed by GitHub
commit 19e50d27e1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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