三处时序竞态修复: - loading=true 提前到 connect 前,避免 WS 早于 pullOnce 推进 maxId 漏拉断线积压 - loading=false 提到 flushBuffer 前,让回放走正常 insertMessage 而非被 push 回 buffer - 加 bootstrapped 守卫,避免 isConnected watcher 在 friend/group 加载完前抢跑 附带:主壳文件名 Index.vue → index.vue 对齐其他模块小写惯例;清理 5 个 TODO @AI。 |
||
|---|---|---|
| .. | ||
| modules | ||
| index.ts | ||