This commit is contained in:
2026-06-24 11:02:42 +08:00
parent c59c1b9fc4
commit ee8fc60eae
7 changed files with 105 additions and 16 deletions
+3
View File
@@ -1279,8 +1279,11 @@ class QmtApp:
self._refresh_ui()
def _on_market_active(self, is_active: bool):
from core.logger import PrintLog, LogLevel
PrintLog(LogLevel.INFO, f'[UI] 收到市场状态切换事件 is_active={is_active}')
self._update_market_status(is_active)
self.page.update()
PrintLog(LogLevel.INFO, f'[UI] 市场状态已更新,_market_label={self._market_label.value}')
def _update_market_status(self, active: bool):
"""更新顶栏市场状态指示灯"""