仪表盘
版本库
文件存储
活动
搜索
登录
董宇坤
/
iailab-plat-ui-vue3
分支自
iailab-plat-ui-vue3
概况
提交次数
目录
文档
分支
对比
blame
|
历史
|
原始文档
MEASURE_VALUE_TYPE
潘志宝
2024-11-22
df90c0c5cfa4de114798015b92120ad8ba8b4826
[~dongyukun/iailab-plat-ui-vue3.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)
}
}