mirror of
https://gitcode.com/JianFeeeee/TrulyMEM-TrueHumanMEM.git
synced 2026-09-21 17:38:18 +00:00
fix: on_login_success 使用 call_after_refresh 确保 DOM 就绪 + 去掉静默吞异常
This commit is contained in:
@ -88,8 +88,6 @@ class ConfigSection(Vertical):
|
||||
sep2.can_focus = False
|
||||
yield sep2
|
||||
|
||||
from textual.containers import Vertical
|
||||
|
||||
# Web 登录 — 仅 admin 可见
|
||||
with Vertical(id="admin-web-login-section"):
|
||||
web_title = Static("━━ Web 登录 ━━", classes="config-title")
|
||||
|
||||
Reference in New Issue
Block a user