Commit Graph

5 Commits

Author SHA1 Message Date
YunaiV
7f9eaf82a2 feat:删除 alova、openapi 依赖
feat:删除无用的 services 调用
2025-12-12 19:13:58 +08:00
Utopia
234dc829c9 fix: openapi-ts-request 生成的代码,options 类型定义不对 2025-10-31 16:36:11 +08:00
feige996
08a81e433b refactor(http): 改进响应类型兼容性并处理多种消息字段
修改 IResponse 接口为联合类型以兼容不同后端返回格式(message/msg)
在错误处理中同时检查 message 和 msg 字段
2025-09-23 14:56:45 +08:00
liaochunxin
7923aa7423 feat(useRequest): 请求取消功能,有效避免内存泄漏和不必要的资源消耗,尤其适用于长时间运行的请求或组件卸载场景。 2025-09-23 09:58:25 +08:00
Utopia
3402624002 chore: 优化代码结构,将 CustomRequestOptions 定义到 http/types.ts 下 2025-08-11 16:33:15 +08:00