摘要: 防抖就是input不可能每次打一个就数据请求,设置一段时间再请求 解决方案是lodash的debounce 节流就是一段时间内不允许再次请求,例如验证码60秒内不允许再请求。 解决方案是lodash的throttle 阅读全文
posted @ 2021-02-21 20:13 晓欲望! 阅读(62) 评论(0) 推荐(0)