Commit Graph

3 Commits

Author SHA1 Message Date
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