mirror of
https://github.com/Tencent/WeKnora.git
synced 2026-06-04 13:30:32 +08:00
The route watcher in the sidebar treated any navigation away from the creatChat pages as "a new session was created" and called getMessageList(), which clears menuArr and re-fetches page 1. As a result, clicking an existing session from /platform/creatChat caused the whole session list to flicker. Only refresh when the target chat id is not already in the list, which is the real signal that a brand-new session was just created.