Skip to content

fix: 错误归属与清理统一比较 pathname + search(拆自 #2312) - #2319

Closed
flashduty[bot] wants to merge 1 commit into
mainfrom
fix/daily-review-20260904-error-identity-search
Closed

fix: 错误归属与清理统一比较 pathname + search(拆自 #2312)#2319
flashduty[bot] wants to merge 1 commit into
mainfrom
fix/daily-review-20260904-error-identity-search

Conversation

@flashduty

@flashduty flashduty Bot commented Sep 8, 2026

Copy link
Copy Markdown

来源

拆自每日 Review 发现的 #2312。原改动只比较 pathname,同路径不同 query 时旧错误会串页(迟到的 403 覆盖新参数页面、query 变化不清旧错误)。

修复

  • 请求发起路径与错误归属/清理比较统一为 pathname + searchsrc/utils/request.tsxsrc/components/AiChatNG/ChatPanel.tsx
  • 清错 effect 依赖加入 location.searchsrc/routers/index.tsx

验证

@Fiona2016 Fiona2016 closed this Sep 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant