fix: SystemMonitor.refresh() 移除不存在的 _refresh_stats 调用
This commit is contained in:
@@ -427,7 +427,6 @@ class SystemMonitor(Static):
|
||||
|
||||
def refresh(self, **kwargs):
|
||||
"""由外部 asyncio task 驱动刷新(比 set_interval 更抗 Android 挂起)"""
|
||||
self._refresh_stats()
|
||||
try:
|
||||
if not self._collector:
|
||||
self.update("📊 系统监控: 数据源未连接")
|
||||
|
||||
Reference in New Issue
Block a user