fix(interface): 修复仪表盘详情

This commit is contained in:
2025-12-21 06:27:00 +08:00
parent 77441e2d40
commit a3612bd3b3
3 changed files with 5 additions and 5 deletions

View File

@@ -68,7 +68,7 @@ def load_electron(path: pathlib.Path, fmt="json") -> dict:
logger.debug("JSON 解析成功, keys: %s", list(dictdata.keys()))
dic = dict()
for item, attr in dictdata.items():
logger.debug("处理电子项目: %s", item)
logger.debug("处理电子项目: %s, %s", item, attr)
dic[item] = Electron(item, attr)
logger.debug("load_electron 完成, 加载了 %d 个 Electron 对象", len(dic))
return dic