throttle 节流函数
ts
import { throttle } from 'fe-toolsbox'
const count = ref(0)
const throttleFn = throttle(() => {
count.value++
}, 1000)
0