fix(core): 修复首次启动时创建的配置版本号不正确

This commit is contained in:
XcantloadX 2025-03-21 19:33:58 +08:00
parent f9023155fb
commit aab6fc3c60
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ class UserConfig(ConfigBaseModel, Generic[T]):
class RootConfig(ConfigBaseModel, Generic[T]):
version: int = 1
version: int = 2
"""配置版本。"""
user_configs: list[UserConfig[T]] = []
"""用户配置。"""