debounce 防抖函数
ts
import { debounce } from 'fe-toolsbox'
const count = ref(0)
const debounceFn = debounce(() => {
count.value++
}, 1000)
0