feat(interface): 组件自动聚焦与键盘操作改进

This commit is contained in:
2026-04-22 22:54:25 +08:00
parent c2a1867c49
commit f50c19ba82
24 changed files with 173 additions and 12258 deletions
+1 -2
View File
@@ -62,8 +62,7 @@ class FavoriteManager:
def _get_file_path(self) -> Path:
"""获取收藏文件路径"""
config_path = Path(config_var.get()["global"]["paths"]["data"])
fav_path = config_path / "global" / "favorites.json"
fav_path = Path(config_var.get()["global"]["paths"]["misc"]) / "favorites.json5"
fav_path.parent.mkdir(parents=True, exist_ok=True)
return fav_path