Request Adapter
We provide a variety of request adapters.
📄️ Mock data
This mock plug-in is an alova request adapter. Different from the traditional Proxy form, you can control the Scope of usage of mock data. You can control the global scope, a group of interface scopes, and even the enabling and use of a certain interface. Disabled, which is very useful in our actual business scenarios. Each iteration will add or modify a set of interfaces. We hope that the previous functions will still follow the developed interfaces, and let the new or modified interfaces Taking the simulation data, at this time, each developer can group the interfaces involved in this iteration into a group, and turn them on or off.
📄️ Fetch Adapter
The fetch adapter is a predefined request adapter for alova, through which you can use all the functions of the fetch API.
📄️ XMLHttpRequest Adapter
Install
📄️ axios adapter
Install
📄️ Uniapp Adapter
This plugin only supports vue3 version of uniapp application.
📄️ Taro Adapter
This plugin only supports the taro application of react 16.8+, vue3 version.