NuxtN
Nuxt2y ago
😖

How do I encapsulate useFetch and $fetch

I want to set a unified request domain name and a unified interface exception handling, how useFetch and $fetch are wrapped can be similar to the interface interceptor of axios
Was this page helpful?