mirror of
https://github.com/EstrellaXD/Auto_Bangumi.git
synced 2026-10-29 19:57:14 +08:00
open() never closed the previous EventSource, so re-searching leaked the old stream: it kept appending the same results (duplicate variants/tags in the list), its onerror closed the NEW stream's handle, and the leaked stream auto-reconnected forever — an idle spinner even with an empty input. - close the previous stream before opening a new one - stale-stream handlers close themselves and never touch shared state - de-duplicate appended results by rss_link as a safety net - clearing the input stops an in-flight search - eventSource must be a shallowRef: ref() proxies the EventSource and breaks the same-stream identity check Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Pz1EmcTPzjgEpkGQWzb8AQ
Auto_Bangumi_WebUI
使用 Vue3 + TypeScript 构建的 Auto_Bangumi 的 WebUI