more-request
v1.0.0-beta.2
Published
more than request
Downloads
119
Readme
用法
直接引入,默认实现防抖节流
import 'more-request'
引入实例
import axios from 'more-request/instance';
扩展axios
的config
参数
| 参数 | 默认值 | 说明 |
| ----------------- | ------ | ----------------------- |
| preventRepeat
| true
| 打开/关闭防重复提交功能 |
| repeatCacheTime
| 500 | 防重提交缓存请求时间 |
仅对
post
请求生效