公告板
版本库
filestore
活动
搜索
登录
web
/
app-web-examination-yudao
概况
操作记录
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
导入项目
wwf
11 小时以前
a1d7e81859f554f3a53680cc35f0f49bf1f77098
[web/app-web-examination-yudao.git]
/
src
/
components
/
bpmnProcessDesigner
/
src
/
utils
/
index.js
1
2
3
4
5
6
7
8
9
10
export function debounce(fn, delay = 500) {
let timer
return function (...args) {
if (timer) {
clearTimeout(timer)
timer = null
}
timer = setTimeout(fn.bind(this, ...args), delay)
}
}