用AI赚第一桶💰低成本搭建一套AI赚钱工具,源码可二开。 广告
[TOC] ## watchThrottled ``` <template> <div> <label> <input type="text" v-model="source" /> </label> </div> </template> <script setup> import {watchThrottled} from '@vueuse/core'; import {ref} from 'vue'; const source=ref(0); watchThrottled( source, () => { console.log('changed!') }, {throttle:500} ) </script> ```