getWindTurbineList: debounce(async function(){//不能用箭头函数 this会指向window
await api.getList()
},100)
vue 中使用 lodash 防抖节流 配合async/await 的正确写法
最新推荐文章于 2024-05-17 14:32:46 发布
getWindTurbineList: debounce(async function(){//不能用箭头函数 this会指向window
await api.getList()
},100)