Files
yiqiu cd8f7b87a2
All checks were successful
continuous-integration/drone/push Build is passing
fix: 彻底重写 syncLoginStatus 用 jwt 直接判断
根因: MutationObserver + CSS display检测 形成死循环,
先 common.js AJAX 隐藏按钮, 然后 observer 触发
syncLoginStatus 又错误显示登录按钮.

修复: syncLoginStatus 不再检测 CSS display 状态,
直接用 localStorage.jwt 判断:
- 有 jwt → 隐藏登录/注册, 显示已登录
- 无 jwt → 显示登录/注册, 隐藏已登录

同时 common.js certification 接口失败不再
影响登录按钮显示
2026-03-20 20:14:28 +08:00
..
2025-11-22 01:14:47 +08:00
2025-11-20 12:30:45 +08:00
2025-11-20 12:30:45 +08:00
2025-11-20 12:30:45 +08:00
2025-11-20 12:30:45 +08:00
2025-11-20 12:30:45 +08:00
2025-11-20 12:30:45 +08:00
2025-12-25 15:45:44 +08:00
2025-11-20 12:30:45 +08:00
2025-11-20 12:30:45 +08:00
2025-11-20 12:30:45 +08:00
2025-11-22 01:14:47 +08:00
2025-12-28 13:20:56 +08:00
2025-11-20 12:30:45 +08:00
2025-11-20 12:30:45 +08:00
2025-11-20 12:30:45 +08:00
2025-11-20 12:30:45 +08:00
2025-11-20 12:30:45 +08:00