refactor(core): 重构请求配置和响应处理逻辑
- 将重试配置合并为 retry 对象 - 移除 httpOptions 配置,改用 response 和 retry 配置 - 重构响应处理器,使用策略模式处理不同状态 - 更新文档和示例以反映新的配置方式 - 删除不再使用的测试页面和代码
Showing
11 changed files
with
148 additions
and
114 deletions
This diff is collapsed.
Click to expand it.
examples/response-handler-test.html
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
-
Please register or sign in to post a comment