fix: Corpus Agent page blank because IIFE never shows .app div

Root cause: auto-login IIFE checks localStorage for current_user, calls
/api/auth/quick-login async, sets token in .then() callback - but never sets
document.getElementById("app").style.display = "flex".
The old if(token) block that shows .app runs synchronously before the fetch
completes, so .app stays display:none.

Fix: add display:flex inside the IIFE's .then callback after successful
quick-login.
This commit is contained in:
root 2026-05-22 16:42:16 +08:00
parent 088548405a
commit d7753f034f

File diff suppressed because it is too large Load Diff