feat: 添加alova HTTP请求库及其uniapp适配器

This commit is contained in:
feige996
2025-06-22 14:03:56 +08:00
parent 8455f09e8c
commit 26f96bfbf5
3 changed files with 48 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
import AdapterUniapp from '@alova/adapter-uniapp'
import { createAlova } from 'alova'
const http = createAlova({
baseURL: import.meta.env.VITE_APP_PROXY_PREFIX,
...AdapterUniapp(),
})